google_kms_crypto_key

Nivis Nix constructor for the google_kms_crypto_key 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,
  key_ring,
  crypto_key_backend ? null,
  deletion_policy ? null,
  destroy_scheduled_duration ? null,
  id ? null,
  import_only ? null,
  labels ? null,
  cfg_name ? null,
  purpose ? null,
  rotation_period ? null,
  skip_initial_version_creation ? null,
  timeouts ? null,
  version_template ? null,
  overrides ? {}
}
Required arguments
  • key_ring
Optional arguments
  • crypto_key_backend (defaults to null)
  • deletion_policy (defaults to null)
  • destroy_scheduled_duration (defaults to null)
  • id (defaults to null)
  • import_only (defaults to null)
  • labels (defaults to null)
  • cfg_name (defaults to null)
  • purpose (defaults to null)
  • rotation_period (defaults to null)
  • skip_initial_version_creation (defaults to null)
  • timeouts (defaults to null)
  • version_template (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • effective_labels
  • primary
  • terraform_labels
Example
google_kms_crypto_key {
  name = "kms_crypto_key";
  key_ring = …;  # required
}

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