Terraform google container cluster: location

From wikieduonline
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

Terraform related resources[edit]

Related[edit]

See also[edit]

Advertising: