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 ofgoogle_dataproc_autoscaling_policy
idnames
: an array ofgoogle_dataproc_autoscaling_policy
namebasic_algorithms
: an array ofgoogle_dataproc_autoscaling_policy
basic_algorithmworker_configs
: an array ofgoogle_dataproc_autoscaling_policy
worker_configsecondary_worker_configs
: an array ofgoogle_dataproc_autoscaling_policy
secondary_worker_configlabels
: an array ofgoogle_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.