google_gke_backup_restore_plan

Nivis Nix constructor for the google_gke_backup_restore_plan 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,
  backup_plan,
  cluster,
  location,
  deletion_policy ? null,
  description ? null,
  id ? null,
  labels ? null,
  cfg_name ? null,
  project ? null,
  restore_config ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • backup_plan
  • cluster
  • location
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • labels (defaults to null)
  • cfg_name (defaults to null)
  • project (defaults to null)
  • restore_config (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • effective_labels
  • state
  • state_reason
  • terraform_labels
  • uid
Example
google_gke_backup_restore_plan {
  name = "gke_backup_restore_plan";
  backup_plan = …;  # required
  cluster = …;  # required
  location = …;  # required
}

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