google_compute_region_autoscalers resource
Use the google_compute_region_autoscalers InSpec audit resource to to test a Google Cloud RegionAutoscaler resource.
Examples
describe google_compute_region_autoscalers(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_region_autoscalers resource:
See google_compute_region_autoscaler for more detailed information.
kinds: an array ofgoogle_compute_region_autoscalerkindids: an array ofgoogle_compute_region_autoscaleridcreation_timestamps: an array ofgoogle_compute_region_autoscalercreation_timestampnames: an array ofgoogle_compute_region_autoscalernamedescriptions: an array ofgoogle_compute_region_autoscalerdescriptiontargets: an array ofgoogle_compute_region_autoscalertargetautoscaling_policies: an array ofgoogle_compute_region_autoscalerautoscaling_policyzones: an array ofgoogle_compute_region_autoscalerzoneregions: an array ofgoogle_compute_region_autoscalerregionself_links: an array ofgoogle_compute_region_autoscalerself_linkself_link_with_ids: an array ofgoogle_compute_region_autoscalerself_link_with_idstatuses: an array ofgoogle_compute_region_autoscalerstatusstatus_details: an array ofgoogle_compute_region_autoscalerstatus_detailsrecommended_sizes: an array ofgoogle_compute_region_autoscalerrecommended_sizescaling_schedule_statuses: an array ofgoogle_compute_region_autoscalerscaling_schedule_status
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.