google_compute_region_disk_types resource
Use the google_compute_region_disk_types InSpec audit resource to to test a Google Cloud RegionDiskType resource.
Examples
describe google_compute_region_disk_types(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_region_disk_types resource:
See google_compute_region_disk_type for more detailed information.
kinds: an array ofgoogle_compute_region_disk_typekindids: an array ofgoogle_compute_region_disk_typeidcreation_timestamps: an array ofgoogle_compute_region_disk_typecreation_timestampnames: an array ofgoogle_compute_region_disk_typenamedescriptions: an array ofgoogle_compute_region_disk_typedescriptionvalid_disk_sizes: an array ofgoogle_compute_region_disk_typevalid_disk_sizedeprecateds: an array ofgoogle_compute_region_disk_typedeprecatedzones: an array ofgoogle_compute_region_disk_typezoneself_links: an array ofgoogle_compute_region_disk_typeself_linkdefault_disk_size_gbs: an array ofgoogle_compute_region_disk_typedefault_disk_size_gbregions: an array ofgoogle_compute_region_disk_typeregion
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.