Skip to content

Commit

Permalink
fixed GitHub Issue terraform-google-modules#1445 | location_policy pe…
Browse files Browse the repository at this point in the history
…rmadrifting
  • Loading branch information
Ubuntu authored and QBYMKPI committed Nov 3, 2022
1 parent 92ebb00 commit 45cd608
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ resource "google_container_node_pool" "pools" {
dynamic "autoscaling" {
for_each = lookup(each.value, "autoscaling", true) ? [each.value] : []
content {
min_node_count = lookup(autoscaling.value, "min_count", 1)
max_node_count = lookup(autoscaling.value, "max_count", 100)
location_policy = "BALANCED"
min_node_count = lookup(autoscaling.value, "min_count", 1)
max_node_count = lookup(autoscaling.value, "max_count", 100)
}
}

Expand Down

0 comments on commit 45cd608

Please sign in to comment.