Skip to content

Commit

Permalink
Fix logic for empty node pool instance tags
Browse files Browse the repository at this point in the history
  • Loading branch information
karagieseking committed Dec 9, 2024
1 parent 278e2f4 commit 5436bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cluster/node-pool/configuration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ locals {
guest_accelerator = local.cfg["guest_accelerator"]
network_config = local.cfg["network_config"]

instance_tags = local.cfg["instance_tags"]
instance_tags = local.cfg["instance_tags"] != null ? local.cfg["instance_tags"] : []
}

0 comments on commit 5436bae

Please sign in to comment.