Skip to main content

google_dataproc_autoscaling_policies resource

Use the google_dataproc_autoscaling_policies InSpec audit resource to to test a Google Cloud ProjectRegionAutoscalingPolicy resource.

Examples

  describe google_dataproc_autoscaling_policies(parent: 'value_parent') do
    it { should exist }
    its('ids') { should include 'value_id' }
  	its('names') { should include 'value_name' }
  end

Properties

Properties that can be accessed from the google_dataproc_autoscaling_policies resource:

See google_dataproc_autoscaling_policy for more detailed information.

  • ids: an array of google_dataproc_autoscaling_policy id
  • names: an array of google_dataproc_autoscaling_policy name
  • basic_algorithms: an array of google_dataproc_autoscaling_policy basic_algorithm
  • worker_configs: an array of google_dataproc_autoscaling_policy worker_config
  • secondary_worker_configs: an array of google_dataproc_autoscaling_policy secondary_worker_config
  • labels: an array of google_dataproc_autoscaling_policy labels

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 Cloud Dataproc API is enabled for the current project.

Thank you for your feedback!

×