google_compute_node_types resource
Use the google_compute_node_types InSpec audit resource to to test a Google Cloud NodeType resource.
Examples
describe google_compute_v1_node_types(project: 'chef-gcp-inspec', zone: ' value_zone') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_node_types resource:
See google_compute_node_type for more detailed information.
kinds: an array ofgoogle_compute_node_typekindids: an array ofgoogle_compute_node_typeidcreation_timestamps: an array ofgoogle_compute_node_typecreation_timestampnames: an array ofgoogle_compute_node_typenamedescriptions: an array ofgoogle_compute_node_typedescriptioncpu_platforms: an array ofgoogle_compute_node_typecpu_platformguest_cpus: an array ofgoogle_compute_node_typeguest_cpusmemory_mbs: an array ofgoogle_compute_node_typememory_mblocal_ssd_gbs: an array ofgoogle_compute_node_typelocal_ssd_gbdeprecateds: an array ofgoogle_compute_node_typedeprecatedzones: an array ofgoogle_compute_node_typezoneself_links: an array ofgoogle_compute_node_typeself_link
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.