From 98c8643886b166d81638aafea9f4089fe5495137 Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Tue, 2 May 2023 15:23:02 +0200 Subject: [PATCH] ignore entire node config in standard cluster (#1348) --- modules/gke-cluster-standard/main.tf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/gke-cluster-standard/main.tf b/modules/gke-cluster-standard/main.tf index 82f885aa..b73f2472 100644 --- a/modules/gke-cluster-standard/main.tf +++ b/modules/gke-cluster-standard/main.tf @@ -354,10 +354,7 @@ resource "google_container_cluster" "cluster" { } } lifecycle { - ignore_changes = [ - node_config[0].boot_disk_kms_key, - node_config[0].spot - ] + ignore_changes = [node_config] } }