google_pubsub_subscriptionNivis Nix constructor for the google_pubsub_subscription resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
topic,
ack_deadline_seconds ? null,
deletion_policy ? null,
enable_exactly_once_delivery ? null,
enable_message_ordering ? null,
filter ? null,
id ? null,
labels ? null,
message_retention_duration ? null,
cfg_name ? null,
project ? null,
retain_acked_messages ? null,
tags ? null,
bigquery_config ? null,
bigtable_config ? null,
cloud_storage_config ? null,
dead_letter_policy ? null,
expiration_policy ? null,
message_transforms ? null,
push_config ? null,
retry_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
topic
Optional arguments
ack_deadline_seconds(defaults tonull)deletion_policy(defaults tonull)enable_exactly_once_delivery(defaults tonull)enable_message_ordering(defaults tonull)filter(defaults tonull)id(defaults tonull)labels(defaults tonull)message_retention_duration(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)retain_acked_messages(defaults tonull)tags(defaults tonull)bigquery_config(defaults tonull)bigtable_config(defaults tonull)cloud_storage_config(defaults tonull)dead_letter_policy(defaults tonull)expiration_policy(defaults tonull)message_transforms(defaults tonull)push_config(defaults tonull)retry_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
effective_labelsterraform_labels
Example
google_pubsub_subscription {
name = "pubsub_subscription";
topic = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.