Google Cloud Pub/Sub Lite Subscription
This page shows how to write Terraform for Cloud Pub/Sub Lite Subscription and write them securely.
The Lite Subscription in Cloud Pub/Sub can be configured in Terraform with the resource name
google_pubsub_lite_subscription. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Name of the subscription.
The region of the pubsub lite topic.
topicrequired - string
A reference to a Topic resource.
zoneoptional - string
The zone of the pubsub lite topic.
delivery_requirementrequired - string
When this subscription should send messages to subscribers relative to messages persistence in storage. Possible values: ["DELIVER_IMMEDIATELY", "DELIVER_AFTER_STORED", "DELIVERY_REQUIREMENT_UNSPECIFIED"]
Explanation in Terraform Registry
A named resource representing the stream of messages from a single, specific topic, to be delivered to the subscribing application. To get more information about Subscription, see:
- API documentation
- How-to Guides