Skip to content

Commit 2db1bcd

Browse files
committed
Synchronize zonal and regional node pool auto_upgrade default
The regional and zonal node pool configurations had different defaults for `auto_upgrade`. We prefer auto-upgrading node pools in general, and moreover having different defaults for regional and zonal node pools is very surprising. This commit reconciles the difference by changing the zonal node pool auto_upgrade default to true.
1 parent 2162779 commit 2db1bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster_zonal.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ resource "google_container_node_pool" "zonal_pools" {
108108

109109
management {
110110
auto_repair = "${lookup(var.node_pools[count.index], "auto_repair", true)}"
111-
auto_upgrade = "${lookup(var.node_pools[count.index], "auto_upgrade", false)}"
111+
auto_upgrade = "${lookup(var.node_pools[count.index], "auto_upgrade", true)}"
112112
}
113113

114114
node_config {

0 commit comments

Comments
 (0)