diff --git a/autogen/main/cluster.tf.tmpl b/autogen/main/cluster.tf.tmpl index ec674ff129..ff003cd535 100644 --- a/autogen/main/cluster.tf.tmpl +++ b/autogen/main/cluster.tf.tmpl @@ -697,7 +697,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/cluster.tf b/cluster.tf index 6072daa739..ea6c9c08f2 100644 --- a/cluster.tf +++ b/cluster.tf @@ -418,7 +418,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -604,7 +604,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/modules/beta-private-cluster-update-variant/cluster.tf b/modules/beta-private-cluster-update-variant/cluster.tf index 520acf9cc8..0f2ed2b4a0 100644 --- a/modules/beta-private-cluster-update-variant/cluster.tf +++ b/modules/beta-private-cluster-update-variant/cluster.tf @@ -607,7 +607,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -833,7 +833,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/modules/beta-private-cluster/cluster.tf b/modules/beta-private-cluster/cluster.tf index b248814f2c..e6992f5c4a 100644 --- a/modules/beta-private-cluster/cluster.tf +++ b/modules/beta-private-cluster/cluster.tf @@ -513,7 +513,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -738,7 +738,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/modules/beta-public-cluster-update-variant/cluster.tf b/modules/beta-public-cluster-update-variant/cluster.tf index f5b23fbb99..9af2ebc1be 100644 --- a/modules/beta-public-cluster-update-variant/cluster.tf +++ b/modules/beta-public-cluster-update-variant/cluster.tf @@ -587,7 +587,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -812,7 +812,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/modules/beta-public-cluster/cluster.tf b/modules/beta-public-cluster/cluster.tf index 45b96ad6b6..6321e64b4b 100644 --- a/modules/beta-public-cluster/cluster.tf +++ b/modules/beta-public-cluster/cluster.tf @@ -493,7 +493,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -717,7 +717,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/modules/private-cluster-update-variant/cluster.tf b/modules/private-cluster-update-variant/cluster.tf index b8a8558f1f..de192ddede 100644 --- a/modules/private-cluster-update-variant/cluster.tf +++ b/modules/private-cluster-update-variant/cluster.tf @@ -531,7 +531,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -718,7 +718,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } diff --git a/modules/private-cluster/cluster.tf b/modules/private-cluster/cluster.tf index b7d21340ef..f413cc951a 100644 --- a/modules/private-cluster/cluster.tf +++ b/modules/private-cluster/cluster.tf @@ -437,7 +437,7 @@ resource "google_container_node_pool" "pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } } @@ -623,7 +623,7 @@ resource "google_container_node_pool" "windows_pools" { standard_rollout_policy { batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s") batch_percentage = lookup(each.value, "batch_percentage", null) - batch_node_count = lookup(each.value, "batch_node_count", null) + batch_node_count = lookup(each.value, "batch_node_count", 1) } } }