google_pubsub_subscription_iam_policy

Nivis Nix constructor for the google_pubsub_subscription_iam_policy resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  policy_data,
  subscription,
  id ? null,
  project ? null,
  overrides ? {}
}
Required arguments
  • policy_data
  • subscription
Optional arguments
  • id (defaults to null)
  • project (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • etag
Example
google_pubsub_subscription_iam_policy {
  name = "pubsub_subscription_iam_policy";
  policy_data = …;  # required
  subscription = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.