A google_container_regional_node_pools is used to test a Google RegionalNodePool resource
describe google_container_regional_node_pools(project: 'chef-gcp-inspec', location: 'europe-west2', cluster: 'inspec-gcp-regional-cluster') do
its('initial_node_counts') { should include '1'}
end
Properties that can be accessed from the google_container_regional_node_pools resource:
See the google_container_regional_node_pool resource for more information.
namesgoogle_container_regional_node_pool nameconfigsgoogle_container_regional_node_pool configinitial_node_countsgoogle_container_regional_node_pool initial_node_countstatusesgoogle_container_regional_node_pool statusstatus_messagesgoogle_container_regional_node_pool status_messageversionsgoogle_container_regional_node_pool versionautoscalingsgoogle_container_regional_node_pool autoscalingmanagementsgoogle_container_regional_node_pool managementmax_pods_constraintsgoogle_container_regional_node_pool max_pods_constraintconditionsgoogle_container_regional_node_pool conditionspod_ipv4_cidr_sizesgoogle_container_regional_node_pool pod_ipv4_cidr_sizeclustersgoogle_container_regional_node_pool clusterlocationsgoogle_container_regional_node_pool locationThis resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.
Ensure the Kubernetes Engine API is enabled for the current project.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_container_regional_node_pools/