google_compute_region_commitments resource
Use the google_compute_region_commitments
InSpec audit resource to to test a Google Cloud RegionCommitment resource.
Examples
describe google_compute_region_commitments(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_region_commitments
resource:
See google_compute_region_commitment for more detailed information.
kinds
: an array ofgoogle_compute_region_commitment
kindids
: an array ofgoogle_compute_region_commitment
idcreation_timestamps
: an array ofgoogle_compute_region_commitment
creation_timestampnames
: an array ofgoogle_compute_region_commitment
namedescriptions
: an array ofgoogle_compute_region_commitment
descriptionregions
: an array ofgoogle_compute_region_commitment
regionself_links
: an array ofgoogle_compute_region_commitment
self_linkself_link_with_ids
: an array ofgoogle_compute_region_commitment
self_link_with_idstatuses
: an array ofgoogle_compute_region_commitment
statusstatus_messages
: an array ofgoogle_compute_region_commitment
status_messageplans
: an array ofgoogle_compute_region_commitment
planstart_timestamps
: an array ofgoogle_compute_region_commitment
start_timestampend_timestamps
: an array ofgoogle_compute_region_commitment
end_timestampresources
: an array ofgoogle_compute_region_commitment
resourcestypes
: an array ofgoogle_compute_region_commitment
typereservations
: an array ofgoogle_compute_region_commitment
reservationscategories
: an array ofgoogle_compute_region_commitment
categorylicense_resources
: an array ofgoogle_compute_region_commitment
license_resourceauto_renews
: an array ofgoogle_compute_region_commitment
auto_renewmerge_source_commitments
: an array ofgoogle_compute_region_commitment
merge_source_commitmentssplit_source_commitments
: an array ofgoogle_compute_region_commitment
split_source_commitmentresource_statuses
: an array ofgoogle_compute_region_commitment
resource_statusexisting_reservations
: an array ofgoogle_compute_region_commitment
existing_reservations
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
GCP permissions
Ensure the Compute Engine API is enabled for the current project.