Terraform google container cluster: location
Jump to navigation
Jump to search
google_container_cluster (doc)
(Optional) The location (region or zone) in which the cluster master will be created, as well as the default node location. If you specify a zone (such as us-central1-a), the cluster will be a zonal cluster with a single cluster master. If you specify a region (such as us-west1), the cluster will be a regional cluster with multiple masters spread across zones in the region, and with default node locations in those zones as well.
Configuring location using a zone instead of a region (us-central1):
location = "us-central1-a"
terraform show | grep "location" gcloud container clusters list
[edit]
Related[edit]
See also[edit]
google_container_cluster, enable_private_nodes,location,release_channel,workload_identity_config,ip_allocation_policy,private_cluster_config,master_authorized_networks_config- GKE, Features: Autopilot,
gcloud container, gke-gcloud-auth-plugin, GKE release channels, GKE Ingress, GCP Node logs, GCP Node logs severity Error, GKE roles, Provide access to GKE cluster, Deploy GKE cluster using Terraform,cluster_autoscaling, addons_config, GKE Node Pool, node auto-provisioning, GKE authentication, GKE security, publicEndpoint, Workload Identity Federation
Advertising: