Commit Graph

24 Commits

Author SHA1 Message Date
Julio Castillo e700a27079 Enforce terraform fmt in examples 2022-12-18 14:00:19 +01:00
Israel Herraiz e692eac867 Add BigQuery subcriptions to Pubsub module.
Pubsub can now have subscriptions that write directly to BigQuery.
 * https://cloud.google.com/pubsub/docs/bigquery

In the Google Terraform provider, this is configured using an additional block
inside a `google_pubsub_subscription` resource.
 * https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_subscription#nested_bigquery_config

This PR adds a new input variable to the `pubsub` module, to optionally add this
block to some of the subscriptions defined in the module.
2022-11-21 17:43:17 +01:00
Julio Castillo 882a3ebf78 Fix pubsub sorting 2022-11-21 13:47:24 +01:00
Israel Herraiz 06750e7236 1 + 1 = 2 2022-11-20 16:56:23 +01:00
Israel Herraiz 5fa9b5e0b0 Fix example code for topic with schemas 2022-11-20 16:36:36 +01:00
Israel Herraiz 2a23df6bd3 Fix variables/outputs table after removing duplicated code. 2022-11-20 16:35:08 +01:00
Israel Herraiz 3f4fa74729 Address reviewer comments. 2022-11-20 16:32:37 +01:00
Israel Herraiz 54e9738c39 Add schemas to Pubsub topic module.
Pubsub topics can now have
schemas (https://cloud.google.com/pubsub/docs/admin#schemas). This PR adds an
option to set the schema settings and create a new optional resource of type
`google_pubsub_schema` attached to the `google_pubsub_topic`.
2022-11-20 13:26:33 +01:00
Julio Castillo a866182161 Test documentation examples in the examples/ folder 2022-09-06 17:46:09 +02:00
Ludovico Magnocavallo d9ea825ea5
add support for topic message duration (#732) 2022-07-12 09:23:23 +02:00
flaprimo a1b66c2ba1
Add subscription filter support to PubSub module (#632)
* add subscription filters to pubsub module

* add tfdoc

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-04-30 11:25:50 +02:00
Julio Castillo cf423998f0 Align tftest syntax with tdoc
This commit changes the token separator for inline examples from a
semicolon to a space
2022-01-28 21:34:15 +01:00
Julio Castillo 31f625f149 Link vars and outputs from README 2022-01-22 14:15:16 +01:00
Ludovico Magnocavallo 2bc5f7d33c
update tfdoc (#404) 2021-12-30 10:56:19 +01:00
Ludovico Magnocavallo 1ac3fe4460
New tfdoc version (#396)
* update tfdoc

* rewrite check docs, refactor tfdoc replace, regenerate modules READMEs

* remove dead code from check docs

* do not fail on missing variable files in check docs

* fix typos
2021-12-21 08:51:51 +01:00
Julio Castillo c2e23001b7 Fix formatting 2021-08-12 10:07:27 +02:00
lcaggio d1b560c76d
Fix message_retention_duration type (#261)
* Fix message_retention_duration type

* Fix Readme and update Changelog

* Update CHANGELOG.md

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2021-06-10 18:46:14 +02:00
Julio Castillo eecdee63e6 Make examples in READMEs runnable and testable 2020-11-07 10:28:33 +01:00
Julio Castillo 8a672b1b13 Fix typo in pubsub README 2020-11-06 09:36:55 +01:00
Ludovico Magnocavallo 3a4938874b rename iam variables in pubsub module 2020-11-05 21:28:34 +01:00
Julio Castillo 82a1fe3c20 Removing iam_roles from multiple modules
This commits removes the iam_roles variables from the modules:
 - artifact-registry
 - bigtable-instance
 - cloud-function
 - container-registry
 - endopoints
 - pubsub
 - source-repository
2020-10-30 18:58:07 +01:00
Ludovico Magnocavallo 133623dee9
Update README.md 2020-05-29 08:08:09 +02:00
Ludovico Magnocavallo e2004d0c0d
Update README.md 2020-05-29 08:07:08 +02:00
Ludovico Magnocavallo bd73e1ade9
New pubsub module (#73)
* pubsub module, untested

* fixed a few errors
2020-05-11 17:51:00 +02:00