Syntax
A google_compute_instance_group_managers
is used to test a Google InstanceGroupManager resource
Beta Resource
This resource has beta fields available. To retrieve these fields, include beta: true
in the constructor for the resource
Examples
describe google_compute_instance_group_managers(project: 'chef-gcp-inspec', zone: 'zone') do
its('base_instance_names') { should include 'igm' }
end
Properties
Properties that can be accessed from the google_compute_instance_group_managers
resource:
See googlecomputeinstancegroupmanager.md for more detailed information
* base_instance_names
: an array of google_compute_instance_group_manager
baseinstancename
* creation_timestamps
: an array of google_compute_instance_group_manager
creationtimestamp
* `currentactions: an array of
googlecomputeinstancegroupmanagercurrent_actions
*
descriptions: an array of
googlecomputeinstancegroupmanagerdescription
*
ids: an array of
googlecomputeinstancegroupmanagerid
*
instancegroups: an array of
googlecomputeinstancegroupmanager` instancegroup
* instance_templates
: an array of google_compute_instance_group_manager
instancetemplate
* names
: an array of `googlecomputeinstancegroupmanagername
*
namedports: an array of
googlecomputeinstancegroupmanagernamed_ports
*
regions: an array of
googlecomputeinstancegroupmanagerregion
*
targetpools: an array of
googlecomputeinstancegroupmanager` targetpools
* target_sizes
: an array of google_compute_instance_group_manager
targetsize
* zones
: an array of `googlecomputeinstancegroup_manager` zone
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.