This commit is contained in:
Luigi Bitonti
2023-09-13 19:53:05 +02:00
parent 6d4060f0aa
commit 4f5852d3a7

View File

@@ -130,22 +130,22 @@ Cloud Storage subscriptions need extra configuration in the `cloud_storage_subsc
```hcl ```hcl
module "pubsub" { module "pubsub" {
source = "./fabric/modules/pubsub" source = "./fabric/modules/pubsub"
project_id = "my-project" project_id = "my-project"
name = "my-topic" name = "my-topic"
subscriptions = { subscriptions = {
test-cloudstorage = null test-cloudstorage = null
} }
cloud_storage_subscription_configs = { cloud_storage_subscription_configs = {
test-cloudstorage = { test-cloudstorage = {
bucket = "my-bucket" bucket = "my-bucket"
filename_prefix = "test_prefix" filename_prefix = "test_prefix"
filename_suffix = "test_suffix" filename_suffix = "test_suffix"
max_duration = "100s" max_duration = "100s"
max_bytes = 1000 max_bytes = 1000
avro_config = { avro_config = {
write_metadata = true write_metadata = true
} }
} }
} }
} }