google_kms_crypto_key_version

Nivis Nix constructor for the google_kms_crypto_key_version 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,
  crypto_key,
  deletion_policy ? null,
  id ? null,
  state ? null,
  external_protection_level_options ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • crypto_key
Optional arguments
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • state (defaults to null)
  • external_protection_level_options (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • algorithm
  • attestation
  • generate_time
  • name
  • protection_level
Example
google_kms_crypto_key_version {
  name = "kms_crypto_key_version";
  crypto_key = …;  # required
}

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