From b7db562b523b5096f9399d085aaf4f2072257668 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 9feae9b023..c08a6570ee 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 ac589a7faf..48a54cd332 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 8fb29d2f5b..e728537596 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 a52836d8b5..d8ecd2eb5f 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",