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.


  • id optionalcomputed - string
  • name required - string
    • Name of the subscription.

  • project optionalcomputed - string
  • region optional - string
    • 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.

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:

Frequently asked questions

What is Google Cloud Pub/Sub Lite Subscription?

Google Cloud Pub/Sub Lite Subscription is a resource for Cloud Pub/Sub of Google Cloud Platform. Settings can be wrote in Terraform.


Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.