pubsub

airasia/pubsub/google

Terraform Module HCL GOOGLE

Terraform module for a Pub/Sub Topic (with subscribers) in GCP

Install
module "pubsub" {
source = "airasia/pubsub/google"
version = "2.5.0"
}
plain text: /constructs/tfmod-airasia-pubsub-google/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module for a Pub/Sub Topic (with subscribers) in GCP Push Subscriptions The push_subscriptions variable accepts a list of push subscriber configurations. PubSub will send push messages to all these push subscribers when a message is available. ``terraform push_subscriptions = [ { name = "Just any name" push_endpoint = "https://an.endpoint/to_be_called/when_a_message/is_available/for_delivery" auth_sa_email = "Email address of a ServiceAccount that has permission to call this endpoint" auth_audience = "A case-insensitive string that can be used to validate intended audience" ack_deadline_seconds = "Overrides 'var.default_ack_deadline_seconds' for this subscriber" message_retention_duration = "Overrides 'var.default_message_retention_duration' for this subscriber" expiry_ttl = "Ove

Inputs (11)
NameTypeDescriptionDefault
name_suffixstringAn arbitrary suffix that will be added to the end of the resource name(s). For e required
topic_namestringThe topic name for this PubSub. required
pull_subscriptionslist(map(string))List of pull subscriptions (if any) with key-value configurations. See source co[]
default_dead_letter_max_attemptsnumberSets default count for maximum number of delivery attempts that a subscription m5
default_ack_deadline_secondsnumberSets default value (in seconds) for maximum time before which subsribers should 10
default_minimum_backoffstringSets default value (in seconds) for minimum delay between consecutive deliveries"10s"
bigquery_subscriptionslist(map(string))List of bigquery subscriptions (if any) with key-value configurations. See sourc[]
default_message_retention_durationstringSets default value (in seconds) for how long should unacknowledged messages be r"604800s"
default_expiry_ttlstringSets default value (in seconds) for how long after the last activity on a subscr"604800s"
default_maximum_backoffstringSets default value (in seconds) for maximum delay between consecutive deliveries"600s"
push_subscriptionslist(map(string))List of push subscriptions (if any) with key-value configurations. See source co[]
Outputs (2)
usage_IAM_roles — Basic IAM role(s) that are generally necessary for using the resources in this module. See https://c
topic_id — An identifier of the topic with format projects/{{project}}/topics/{{name}}
Resources (4)
google_project_iam_membergoogle_project_servicegoogle_pubsub_subscriptiongoogle_pubsub_topic
Details
FrameworkTerraform Module
LanguageHCL
Version2.5.0
Cloud GOOGLE
★ Stars1
Forks7
Total downloads29.7k
Inputs11
Outputs2
Resources4
LicenseGPL-3.0
Namespaceairasia
Updated