From cca1ac8bdad16ab4567ccb76edf9f31172e88d57 Mon Sep 17 00:00:00 2001 From: kevinbleckmann <123095645+kevinbleckmann@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:37:32 -0700 Subject: [PATCH] fix variable information fix the variables for C4 and N4 as not required to manage min cpu --- examples/gcp-linux-tdx-vm/main.tf | 2 ++ examples/gcp-linux-vm/variables.tf | 3 ++- main.tf | 5 ++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/gcp-linux-tdx-vm/main.tf b/examples/gcp-linux-tdx-vm/main.tf index 0afbf16..307bbd8 100644 --- a/examples/gcp-linux-tdx-vm/main.tf +++ b/examples/gcp-linux-tdx-vm/main.tf @@ -17,6 +17,8 @@ module "linux_vm" { enable_confidential_compute = var.enable_confidential_compute confidential_instance_type = var.confidential_instance_type on_host_maintenance = "TERMINATE" + machine_type = "c3-standard-4" + access_config = [{ nat_ip = null diff --git a/examples/gcp-linux-vm/variables.tf b/examples/gcp-linux-vm/variables.tf index 56d3166..a9cc3b7 100644 --- a/examples/gcp-linux-vm/variables.tf +++ b/examples/gcp-linux-vm/variables.tf @@ -1,4 +1,5 @@ variable "project" { type = string description = "The ID of the project in which the resource resides." -} \ No newline at end of file +} + diff --git a/main.tf b/main.tf index 7599d87..af1882f 100644 --- a/main.tf +++ b/main.tf @@ -19,9 +19,8 @@ locals { "c3": "Intel Sapphire Rapids", "m3": "Intel Ice Lake", "c2": "Intel Cascade Lake" - "n4": "Intel Emerald Rapids" - "c4": "Intel Emerald Rapids - "n1": null + "n4": null + "c4": null "m1": null "m2": null "e2": null