title | platform |
---|---|
About the google_compute_instance_templates resource |
gcp |
A google_compute_instance_templates
is used to test a Google InstanceTemplate resource
describe google_compute_instance_templates(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-instance-template' }
end
Properties that can be accessed from the google_compute_instance_templates
resource:
See google_compute_instance_template.md for more detailed information
creation_timestamps
: an array ofgoogle_compute_instance_template
creation_timestampdescriptions
: an array ofgoogle_compute_instance_template
descriptionids
: an array ofgoogle_compute_instance_template
idnames
: an array ofgoogle_compute_instance_template
nameproperties
: an array ofgoogle_compute_instance_template
properties
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.