From b567dd77a7f95caeaefa9781338d2ed34ed6c3bc Mon Sep 17 00:00:00 2001 From: fbeevikm <91213908+fbeevikm@users.noreply.github.com> Date: Thu, 2 Jun 2022 12:22:07 -0400 Subject: [PATCH] feat: Add keeper for `enable_secure_boot` nodepool option for update variant. (#1277) https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/1276 --- autogen/main/cluster.tf.tmpl | 1 + modules/beta-private-cluster-update-variant/cluster.tf | 1 + modules/beta-public-cluster-update-variant/cluster.tf | 1 + modules/private-cluster-update-variant/cluster.tf | 1 + 4 files changed, 4 insertions(+) diff --git a/autogen/main/cluster.tf.tmpl b/autogen/main/cluster.tf.tmpl index 8bdee3ffe5..92c42822e7 100644 --- a/autogen/main/cluster.tf.tmpl +++ b/autogen/main/cluster.tf.tmpl @@ -434,6 +434,7 @@ locals { {% endif %} "service_account", "enable_gcfs", + "enable_secure_boot", ] } diff --git a/modules/beta-private-cluster-update-variant/cluster.tf b/modules/beta-private-cluster-update-variant/cluster.tf index d01efa3b3f..ba4480c444 100644 --- a/modules/beta-private-cluster-update-variant/cluster.tf +++ b/modules/beta-private-cluster-update-variant/cluster.tf @@ -379,6 +379,7 @@ locals { "spot", "service_account", "enable_gcfs", + "enable_secure_boot", ] } diff --git a/modules/beta-public-cluster-update-variant/cluster.tf b/modules/beta-public-cluster-update-variant/cluster.tf index bb0a471227..8058338a49 100644 --- a/modules/beta-public-cluster-update-variant/cluster.tf +++ b/modules/beta-public-cluster-update-variant/cluster.tf @@ -360,6 +360,7 @@ locals { "spot", "service_account", "enable_gcfs", + "enable_secure_boot", ] } diff --git a/modules/private-cluster-update-variant/cluster.tf b/modules/private-cluster-update-variant/cluster.tf index 15291397a2..588a200b63 100644 --- a/modules/private-cluster-update-variant/cluster.tf +++ b/modules/private-cluster-update-variant/cluster.tf @@ -273,6 +273,7 @@ locals { "preemptible", "service_account", "enable_gcfs", + "enable_secure_boot", ] }