google_secret_manager_secret

Nivis Nix constructor for the google_secret_manager_secret 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,
  secret_id,
  annotations ? null,
  deletion_policy ? null,
  deletion_protection ? null,
  expire_time ? null,
  id ? null,
  labels ? null,
  project ? null,
  secret_type ? null,
  tags ? null,
  ttl ? null,
  version_aliases ? null,
  version_destroy_ttl ? null,
  replication ? null,
  rotation ? null,
  timeouts ? null,
  topics ? null,
  overrides ? {}
}
Required arguments
  • secret_id
Optional arguments
  • annotations (defaults to null)
  • deletion_policy (defaults to null)
  • deletion_protection (defaults to null)
  • expire_time (defaults to null)
  • id (defaults to null)
  • labels (defaults to null)
  • project (defaults to null)
  • secret_type (defaults to null)
  • tags (defaults to null)
  • ttl (defaults to null)
  • version_aliases (defaults to null)
  • version_destroy_ttl (defaults to null)
  • replication (defaults to null)
  • rotation (defaults to null)
  • timeouts (defaults to null)
  • topics (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • effective_annotations
  • effective_labels
  • name
  • terraform_labels
Example
google_secret_manager_secret {
  name = "secret_manager_secret";
  secret_id = …;  # required
}

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