diff --git a/autogen/main/cluster.tf.tmpl b/autogen/main/cluster.tf.tmpl index 7e0c9f956e..27bce7243a 100644 --- a/autogen/main/cluster.tf.tmpl +++ b/autogen/main/cluster.tf.tmpl @@ -707,7 +707,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 09b8ff621c..01424871ce 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 8a0c948f5e..895c3dd345 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 e46a052ee9..7f7544518e 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 d1aaa85a2a..b60d577405 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 cf969a4fc6..5149f82ff4 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 7a939ec1d9..077f6983e3 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 eb9bec9f9a..b6399c512d 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) } } }