FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

google_pubsub_subscripion

Creates a subscription in Google’s pubsub queueing system. For more information see the official documentation and API.

Example Usage

resource "google_pubsub_subscription" "default" {
  name  = "default-subscription"
  topic = "default-topic"

  ack_deadline_seconds = 20

  push_config {
    endpoint = "https://example.com/push"
    attributes {
      x-goog-version = "v1"
    }
  }
}

Argument Reference

The following arguments are supported:


The optional push_config block supports:

Attributes Reference

Only the arguments listed above are exposed as attributes.


See the source of this document at Terraform.io