location location location
This commit is contained in:
parent
cbe7e8891d
commit
3e0ffff0a2
1 changed files with 2 additions and 2 deletions
|
@ -119,13 +119,13 @@ resource "google_container_cluster" "gke" {
|
||||||
# Set the zone by grabbing the result of the random_shuffle above. It
|
# Set the zone by grabbing the result of the random_shuffle above. It
|
||||||
# returns a list so we have to pull the first element off. If you're looking
|
# returns a list so we have to pull the first element off. If you're looking
|
||||||
# at this and thinking "huh terraform syntax looks a clunky" you are NOT WRONG
|
# at this and thinking "huh terraform syntax looks a clunky" you are NOT WRONG
|
||||||
zone = element(random_shuffle.zone.result, 0)
|
location = element(random_shuffle.zone.result, 0)
|
||||||
|
|
||||||
# Using an embedded resource to define the node pool. Another
|
# Using an embedded resource to define the node pool. Another
|
||||||
# option would be to create the node pool as a separate resource and link it
|
# option would be to create the node pool as a separate resource and link it
|
||||||
# to this cluster. There are tradeoffs to each approach.
|
# to this cluster. There are tradeoffs to each approach.
|
||||||
#
|
#
|
||||||
# The embedded resource is convenient but if you change it you have to tear
|
# The embedded resource is convenient but if you change it you have to te
|
||||||
# down the entire cluster and rebuild it. A separate resource could be
|
# down the entire cluster and rebuild it. A separate resource could be
|
||||||
# modified independent of the cluster without the cluster needing to be torn
|
# modified independent of the cluster without the cluster needing to be torn
|
||||||
# down.
|
# down.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue