From a2272f0c158642dd166a14415944a5541c6ff174 Mon Sep 17 00:00:00 2001 From: Andy Bursavich Date: Mon, 11 Jul 2022 16:45:39 -0700 Subject: [PATCH] fix: Create new node pool when shielded_instance_config changes (#1237) Co-authored-by: Bharath KKB Co-authored-by: Andrew Peabody --- autogen/main/cluster.tf.tmpl | 2 ++ modules/beta-private-cluster-update-variant/cluster.tf | 2 ++ modules/beta-public-cluster-update-variant/cluster.tf | 2 ++ modules/private-cluster-update-variant/cluster.tf | 2 ++ 4 files changed, 8 insertions(+) diff --git a/autogen/main/cluster.tf.tmpl b/autogen/main/cluster.tf.tmpl index 9feae9b02..c08a6570e 100644 --- a/autogen/main/cluster.tf.tmpl +++ b/autogen/main/cluster.tf.tmpl @@ -458,6 +458,8 @@ locals { "disk_type", "accelerator_count", "accelerator_type", + "enable_secure_boot", + "enable_integrity_monitoring", "local_ssd_count", "machine_type", "min_cpu_platform", diff --git a/modules/beta-private-cluster-update-variant/cluster.tf b/modules/beta-private-cluster-update-variant/cluster.tf index ac589a7fa..48a54cd33 100644 --- a/modules/beta-private-cluster-update-variant/cluster.tf +++ b/modules/beta-private-cluster-update-variant/cluster.tf @@ -394,6 +394,8 @@ locals { "disk_type", "accelerator_count", "accelerator_type", + "enable_secure_boot", + "enable_integrity_monitoring", "local_ssd_count", "machine_type", "min_cpu_platform", diff --git a/modules/beta-public-cluster-update-variant/cluster.tf b/modules/beta-public-cluster-update-variant/cluster.tf index 8fb29d2f5..e72853759 100644 --- a/modules/beta-public-cluster-update-variant/cluster.tf +++ b/modules/beta-public-cluster-update-variant/cluster.tf @@ -375,6 +375,8 @@ locals { "disk_type", "accelerator_count", "accelerator_type", + "enable_secure_boot", + "enable_integrity_monitoring", "local_ssd_count", "machine_type", "min_cpu_platform", diff --git a/modules/private-cluster-update-variant/cluster.tf b/modules/private-cluster-update-variant/cluster.tf index a52836d8b..d8ecd2eb5 100644 --- a/modules/private-cluster-update-variant/cluster.tf +++ b/modules/private-cluster-update-variant/cluster.tf @@ -281,6 +281,8 @@ locals { "disk_type", "accelerator_count", "accelerator_type", + "enable_secure_boot", + "enable_integrity_monitoring", "local_ssd_count", "machine_type", "min_cpu_platform",