A google_compute_instance_group_managers is used to test a Google InstanceGroupManager resource


describe google_compute_instance_group_managers(project: 'chef-gcp-inspec', zone: 'zone') do
  its('base_instance_names') { should include 'igm' }


Properties that can be accessed from the google_compute_instance_group_managers resource:

See 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 ofgooglecomputeinstancegroupmanagercurrent_actions *descriptions: an array ofgooglecomputeinstancegroupmanagerdescription *ids: an array ofgooglecomputeinstancegroupmanagerid *instancegroups: an array ofgooglecomputeinstancegroupmanager` instancegroup * instance_templates: an array of google_compute_instance_group_manager instancetemplate * names: an array of `googlecomputeinstancegroupmanagername *namedports: an array ofgooglecomputeinstancegroupmanagernamed_ports *regions: an array ofgooglecomputeinstancegroupmanagerregion *targetpools: an array ofgooglecomputeinstancegroupmanager` 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.