Skip to content

Commit 5436bae

Browse files
committed
Fix logic for empty node pool instance tags
1 parent 278e2f4 commit 5436bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cluster/node-pool/configuration.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ locals {
4545
guest_accelerator = local.cfg["guest_accelerator"]
4646
network_config = local.cfg["network_config"]
4747

48-
instance_tags = local.cfg["instance_tags"]
48+
instance_tags = local.cfg["instance_tags"] != null ? local.cfg["instance_tags"] : []
4949
}

0 commit comments

Comments
 (0)