Google Cloud Pub/Sub Lite Topic
This page shows how to write Terraform for Cloud Pub/Sub Lite Topic and write them securely.
The Lite Topic in Cloud Pub/Sub can be configured in Terraform with the resource name
google_pubsub_lite_topic. 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 topic.
The region of the pubsub lite topic.
zoneoptional - string
The zone of the pubsub lite topic.
countrequired - number
The number of partitions in the topic. Must be at least 1.
per_partition_bytesrequired - string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
periodoptional - string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below perPartitionBytes.
Explanation in Terraform Registry
A named resource to which messages are sent by publishers. To get more information about Topic, see: