google_kms_crypto_key_versionNivis 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 tonull)id(defaults tonull)state(defaults tonull)external_protection_level_options(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
algorithmattestationgenerate_timenameprotection_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.