From 5436bae413dc94e4671c5673c1821b923b93e5b3 Mon Sep 17 00:00:00 2001 From: Kara Gieseking Date: Mon, 9 Dec 2024 15:20:23 +0900 Subject: [PATCH] Fix logic for empty node pool instance tags --- google/cluster/node-pool/configuration.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cluster/node-pool/configuration.tf b/google/cluster/node-pool/configuration.tf index 2e7f6c3..2b4f843 100644 --- a/google/cluster/node-pool/configuration.tf +++ b/google/cluster/node-pool/configuration.tf @@ -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"] : [] }