google_compute_resource_policy

Nivis Nix constructor for the google_compute_resource_policy 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,
  deletion_policy ? null,
  description ? null,
  id ? null,
  cfg_name ? null,
  project ? null,
  region ? null,
  disk_consistency_group_policy ? null,
  group_placement_policy ? null,
  instance_schedule_policy ? null,
  snapshot_schedule_policy ? null,
  timeouts ? null,
  workload_policy ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • project (defaults to null)
  • region (defaults to null)
  • disk_consistency_group_policy (defaults to null)
  • group_placement_policy (defaults to null)
  • instance_schedule_policy (defaults to null)
  • snapshot_schedule_policy (defaults to null)
  • timeouts (defaults to null)
  • workload_policy (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • self_link
Example
google_compute_resource_policy {
  name = "compute_resource_policy";
}

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