title | platform |
---|---|
About the google_compute_resource_policies resource |
gcp |
A google_compute_resource_policies
is used to test a Google ResourcePolicy resource
describe google_compute_resource_policies(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties that can be accessed from the google_compute_resource_policies
resource:
See google_compute_resource_policy.md for more detailed information
kinds
: an array ofgoogle_compute_resource_policy
kindids
: an array ofgoogle_compute_resource_policy
idcreation_timestamps
: an array ofgoogle_compute_resource_policy
creation_timestampself_links
: an array ofgoogle_compute_resource_policy
self_linkself_link_with_ids
: an array ofgoogle_compute_resource_policy
self_link_with_idregions
: an array ofgoogle_compute_resource_policy
regiondescriptions
: an array ofgoogle_compute_resource_policy
descriptionnames
: an array ofgoogle_compute_resource_policy
namevm_maintenance_policies
: an array ofgoogle_compute_resource_policy
vm_maintenance_policysnapshot_schedule_policies
: an array ofgoogle_compute_resource_policy
snapshot_schedule_policygroup_placement_policies
: an array ofgoogle_compute_resource_policy
group_placement_policyinstance_schedule_policies
: an array ofgoogle_compute_resource_policy
instance_schedule_policystatuses
: an array ofgoogle_compute_resource_policy
statusresource_statuses
: an array ofgoogle_compute_resource_policy
resource_status
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Compute Engine API is enabled for the current project.