title | platform |
---|---|
About the google_container_regional_clusters resource |
gcp |
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 google_container_regional_cluster.md for more detailed information
names
: an array ofgoogle_container_regional_cluster
namedescriptions
: an array ofgoogle_container_regional_cluster
descriptioninitial_node_counts
: an array ofgoogle_container_regional_cluster
initial_node_countnode_configs
: an array ofgoogle_container_regional_cluster
node_configmaster_auths
: an array ofgoogle_container_regional_cluster
master_authlogging_services
: an array ofgoogle_container_regional_cluster
logging_servicemonitoring_services
: an array ofgoogle_container_regional_cluster
monitoring_servicenetworks
: an array ofgoogle_container_regional_cluster
networkprivate_cluster_configs
: an array ofgoogle_container_regional_cluster
private_cluster_configcluster_ipv4_cidrs
: an array ofgoogle_container_regional_cluster
cluster_ipv4_cidraddons_configs
: an array ofgoogle_container_regional_cluster
addons_configsubnetworks
: an array ofgoogle_container_regional_cluster
subnetworkendpoints
: an array ofgoogle_container_regional_cluster
endpointinitial_cluster_versions
: an array ofgoogle_container_regional_cluster
initial_cluster_versioncurrent_master_versions
: an array ofgoogle_container_regional_cluster
current_master_versioncurrent_node_versions
: an array ofgoogle_container_regional_cluster
current_node_versioncreate_times
: an array ofgoogle_container_regional_cluster
create_timenode_ipv4_cidr_sizes
: an array ofgoogle_container_regional_cluster
node_ipv4_cidr_sizeservices_ipv4_cidrs
: an array ofgoogle_container_regional_cluster
services_ipv4_cidrcurrent_node_counts
: an array ofgoogle_container_regional_cluster
current_node_countexpire_times
: an array ofgoogle_container_regional_cluster
expire_timelocations
: an array ofgoogle_container_regional_cluster
location
This 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.