google_compute_resource_policyNivis Nix constructor for the google_compute_resource_policy 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,
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 tonull)description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)region(defaults tonull)disk_consistency_group_policy(defaults tonull)group_placement_policy(defaults tonull)instance_schedule_policy(defaults tonull)snapshot_schedule_policy(defaults tonull)timeouts(defaults tonull)workload_policy(defaults tonull)
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.