On this page
google_container_regional_clusters resource
Syntax
A google_container_regional_clusters is used to test a Google RegionalCluster resource
Examples
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
Properties that can be accessed from the google_container_regional_clusters resource:
See the google_container_regional_cluster resource for more information.
-
names -
an array of
google_container_regional_clustername -
descriptions -
an array of
google_container_regional_clusterdescription -
initial_node_counts -
an array of
google_container_regional_clusterinitial_node_count -
node_configs -
an array of
google_container_regional_clusternode_config -
master_auths -
an array of
google_container_regional_clustermaster_auth -
logging_services -
an array of
google_container_regional_clusterlogging_service -
monitoring_services -
an array of
google_container_regional_clustermonitoring_service -
networks -
an array of
google_container_regional_clusternetwork -
private_cluster_configs -
an array of
google_container_regional_clusterprivate_cluster_config -
cluster_ipv4_cidrs -
an array of
google_container_regional_clustercluster_ipv4_cidr -
enable_tpus -
an array of
google_container_regional_clusterenable_tpu -
tpu_ipv4_cidr_blocks -
an array of
google_container_regional_clustertpu_ipv4_cidr_block -
addons_configs -
an array of
google_container_regional_clusteraddons_config -
subnetworks -
an array of
google_container_regional_clustersubnetwork -
locations -
an array of
google_container_regional_clusterlocations -
resource_labels -
an array of
google_container_regional_clusterresource_labels -
label_fingerprints -
an array of
google_container_regional_clusterlabel_fingerprint -
legacy_abacs -
an array of
google_container_regional_clusterlegacy_abac -
network_policies -
an array of
google_container_regional_clusternetwork_policy -
default_max_pods_constraints -
an array of
google_container_regional_clusterdefault_max_pods_constraint -
ip_allocation_policies -
an array of
google_container_regional_clusterip_allocation_policy -
endpoints -
an array of
google_container_regional_clusterendpoint -
initial_cluster_versions -
an array of
google_container_regional_clusterinitial_cluster_version -
current_master_versions -
an array of
google_container_regional_clustercurrent_master_version -
current_node_versions -
an array of
google_container_regional_clustercurrent_node_version -
create_times -
an array of
google_container_regional_clustercreate_time -
statuses -
an array of
google_container_regional_clusterstatus -
status_messages -
an array of
google_container_regional_clusterstatus_message -
node_ipv4_cidr_sizes -
an array of
google_container_regional_clusternode_ipv4_cidr_size -
services_ipv4_cidrs -
an array of
google_container_regional_clusterservices_ipv4_cidr -
current_node_counts -
an array of
google_container_regional_clustercurrent_node_count -
expire_times -
an array of
google_container_regional_clusterexpire_time -
conditions -
an array of
google_container_regional_clusterconditions -
master_authorized_networks_configs -
an array of
google_container_regional_clustermaster_authorized_networks_config -
locations -
an array of
google_container_regional_clusterlocation
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 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/