A google_container_regional_clusters is used to test a Google RegionalCluster resource
describe google_container_regional_clusters(project: 'chef-gcp-inspec', location: 'europe-west2') do
its('count') { should be >= 1 }
its('names') { should include 'inspec-gcp-regional-cluster' }
its('initial_node_counts') { should include '1'}
end
Properties that can be accessed from the google_container_regional_clusters resource:
See the google_container_regional_cluster resource for more information.
namesgoogle_container_regional_cluster namedescriptionsgoogle_container_regional_cluster descriptioninitial_node_countsgoogle_container_regional_cluster initial_node_countnode_configsgoogle_container_regional_cluster node_configmaster_authsgoogle_container_regional_cluster master_authlogging_servicesgoogle_container_regional_cluster logging_servicemonitoring_servicesgoogle_container_regional_cluster monitoring_servicenetworksgoogle_container_regional_cluster networkprivate_cluster_configsgoogle_container_regional_cluster private_cluster_configcluster_ipv4_cidrsgoogle_container_regional_cluster cluster_ipv4_cidrenable_tpusgoogle_container_regional_cluster enable_tputpu_ipv4_cidr_blocksgoogle_container_regional_cluster tpu_ipv4_cidr_blockaddons_configsgoogle_container_regional_cluster addons_configsubnetworksgoogle_container_regional_cluster subnetworklocationsgoogle_container_regional_cluster locationsresource_labelsgoogle_container_regional_cluster resource_labelslabel_fingerprintsgoogle_container_regional_cluster label_fingerprintlegacy_abacsgoogle_container_regional_cluster legacy_abacnetwork_policiesgoogle_container_regional_cluster network_policydefault_max_pods_constraintsgoogle_container_regional_cluster default_max_pods_constraintip_allocation_policiesgoogle_container_regional_cluster ip_allocation_policyendpointsgoogle_container_regional_cluster endpointinitial_cluster_versionsgoogle_container_regional_cluster initial_cluster_versioncurrent_master_versionsgoogle_container_regional_cluster current_master_versioncurrent_node_versionsgoogle_container_regional_cluster current_node_versioncreate_timesgoogle_container_regional_cluster create_timestatusesgoogle_container_regional_cluster statusstatus_messagesgoogle_container_regional_cluster status_messagenode_ipv4_cidr_sizesgoogle_container_regional_cluster node_ipv4_cidr_sizeservices_ipv4_cidrsgoogle_container_regional_cluster services_ipv4_cidrcurrent_node_countsgoogle_container_regional_cluster current_node_countexpire_timesgoogle_container_regional_cluster expire_timeconditionsgoogle_container_regional_cluster conditionsmaster_authorized_networks_configsgoogle_container_regional_cluster master_authorized_networks_configlocationsgoogle_container_regional_cluster 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_clusters/