From 18444d995264ae9a6de529b118b609935739803f Mon Sep 17 00:00:00 2001 From: Arthur Dayton <103078673+arthur-observe@users.noreply.github.com> Date: Mon, 21 Nov 2022 10:10:41 -0500 Subject: [PATCH] fix: pass name format (#18) * pass name format to collection extension --- examples/full/README.md | 2 ++ main.tf | 1 + 2 files changed, 3 insertions(+) diff --git a/examples/full/README.md b/examples/full/README.md index 9b56cb5..19cf772 100644 --- a/examples/full/README.md +++ b/examples/full/README.md @@ -3,6 +3,8 @@ This configuration documents a method for setting up infrastructure on Google for use by Observe pollers and the Observe datasets. +The collection_extensions allow you to inject whatever custom information you want into your pub/sub topic via cloud functions triggered by events or cloud scheduler jobs. + ### Usage 1. Install gCloud CLI to create auth token for Terraform. diff --git a/main.tf b/main.tf index 618bf2c..046cf67 100644 --- a/main.tf +++ b/main.tf @@ -88,4 +88,5 @@ module "extensions" { "export-cloud-scheduler" ] src_path = "${path.module}/collection_extensions/src" + name_format = "${var.name}-%s" }