Skip to content

Commit 3a2858d

Browse files
committed
undo change from beta-public-cluster, and set change in beta-private-cluster
1 parent 2c73880 commit 3a2858d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/beta-private-cluster/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ resource "google_container_node_pool" "windows_pools" {
13151315
disk_type = lookup(each.value, "disk_type", "pd-standard")
13161316

13171317
dynamic "ephemeral_storage_local_ssd_config" {
1318-
for_each = lookup(each.value, "local_ssd_ephemeral_storage_count", 0) > 0 || lookup(each.value, "ephemeral_storage_local_ssd_data_cache_count", 0) > 0 ? [1] : []
1318+
for_each = lookup(each.value, "local_ssd_ephemeral_storage_count", 0) >= 0 || lookup(each.value, "ephemeral_storage_local_ssd_data_cache_count", 0) > 0 ? [1] : []
13191319
content {
13201320
local_ssd_count = lookup(each.value, "local_ssd_ephemeral_storage_count", 0)
13211321
data_cache_count = lookup(each.value, "ephemeral_storage_local_ssd_data_cache_count", 0)

modules/beta-public-cluster/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ resource "google_container_node_pool" "pools" {
914914
disk_type = lookup(each.value, "disk_type", "pd-standard")
915915

916916
dynamic "ephemeral_storage_local_ssd_config" {
917-
for_each = lookup(each.value, "local_ssd_ephemeral_storage_count", 0) >= 0 || lookup(each.value, "ephemeral_storage_local_ssd_data_cache_count", 0) > 0 ? [1] : []
917+
for_each = lookup(each.value, "local_ssd_ephemeral_storage_count", 0) > 0 || lookup(each.value, "ephemeral_storage_local_ssd_data_cache_count", 0) > 0 ? [1] : []
918918
content {
919919
local_ssd_count = lookup(each.value, "local_ssd_ephemeral_storage_count", 0)
920920
data_cache_count = lookup(each.value, "ephemeral_storage_local_ssd_data_cache_count", 0)

0 commit comments

Comments
 (0)