Google Cloud Pub/Sub Lite Subscription
This page shows how to write Terraform for Cloud Pub/Sub Lite Subscription and write them securely.
google_pubsub_lite_subscription (Terraform)
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.
Parameters
Name of the subscription.
The region of the pubsub lite topic.
-
topic
required - string
A reference to a Topic resource.
-
zone
optional - string
The zone of the pubsub lite topic.
-
delivery_config
list block-
delivery_requirement
required - 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"]
-
-
timeouts
single block
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