title | platform |
---|---|
About the google_compute_machine_images resource |
gcp |
A google_compute_machine_images
is used to test a Google MachineImage resource
describe google_compute_machine_images(project: 'chef-gcp-inspec') do
it { should exist }
end
Properties that can be accessed from the google_compute_machine_images
resource:
See google_compute_machine_image.md for more detailed information
kinds
: an array ofgoogle_compute_machine_image
kindids
: an array ofgoogle_compute_machine_image
idcreation_timestamps
: an array ofgoogle_compute_machine_image
creation_timestampnames
: an array ofgoogle_compute_machine_image
namedescriptions
: an array ofgoogle_compute_machine_image
descriptionself_links
: an array ofgoogle_compute_machine_image
self_linksource_instances
: an array ofgoogle_compute_machine_image
source_instancestatuses
: an array ofgoogle_compute_machine_image
statussource_instance_properties
: an array ofgoogle_compute_machine_image
source_instance_propertiesinstance_properties
: an array ofgoogle_compute_machine_image
instance_propertiessaved_disks
: an array ofgoogle_compute_machine_image
saved_disksstorage_locations
: an array ofgoogle_compute_machine_image
storage_locationsmachine_image_encryption_keys
: an array ofgoogle_compute_machine_image
machine_image_encryption_keyguest_flushes
: an array ofgoogle_compute_machine_image
guest_flushsource_disk_encryption_keys
: an array ofgoogle_compute_machine_image
source_disk_encryption_keystotal_storage_bytes
: an array ofgoogle_compute_machine_image
total_storage_bytessatisfies_pzs
: an array ofgoogle_compute_machine_image
satisfies_pzs
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.