Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 3.2 KB

terraform-docs.md

File metadata and controls

43 lines (32 loc) · 3.2 KB

Requirements

Name Version
google ~> 6.0

Providers

Name Version
google ~> 6.0

Modules

No modules.

Resources

Name Type
google_pubsub_subscription.dead_letter_subscription resource
google_pubsub_subscription.subscription resource
google_pubsub_topic.dead_letter_subscription_topic resource
google_pubsub_topic_iam_binding.assign_pubsub_publisher resource
google_pubsub_topic_iam_binding.assign_pubsub_subscriber resource

Inputs

Name Description Type Default Required
labels A set of key/value label pairs to assign to this Topic. map(string) {} no
max_delivery_attempts The maximum number of delivery attempts for any message. The value must be between 5 and 100. number 100 no
message_retention_duration Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last messageRetentionDuration are always available to subscribers. For instance, it allows any attached subscription to seek to a timestamp that is up to messageRetentionDuration in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. string "2678400s" no
pubsub_service_account The service account to be used by the Pub/Sub system. Looks like '[email protected]'. string n/a yes
subscription_name The name of the subscription. string n/a yes
topic_id A reference to a Topic resource, of the form projects/{project}/topics/{{name}} (as in the id property of a google_pubsub_topic), or just a topic name if the topic is in the same project as the subscription. string n/a yes

Outputs

Name Description
subscription_id The ID of the created subscription.
subscription_name The name of the created subscription.