google_discovery_engine_cmek_config

Nivis Nix constructor for the google_discovery_engine_cmek_config 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,
  cmek_config_id,
  kms_key,
  location,
  deletion_policy ? null,
  id ? null,
  project ? null,
  set_default ? null,
  single_region_keys ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cmek_config_id
  • kms_key
  • location
Optional arguments
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • project (defaults to null)
  • set_default (defaults to null)
  • single_region_keys (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • is_default
  • kms_key_version
  • last_rotation_timestamp_micros
  • name
  • notebooklm_state
  • state
Example
google_discovery_engine_cmek_config {
  name = "discovery_engine_cmek_config";
  cmek_config_id = …;  # required
  kms_key = …;  # required
  location = …;  # required
}

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