From 542b66f55d34e41ad4490801c82eb0e4ac044c73 Mon Sep 17 00:00:00 2001 From: Bob Callaway Date: Wed, 3 Jul 2024 13:33:02 -0400 Subject: [PATCH 1/2] set instance metadata to enable osconfig Signed-off-by: Bob Callaway --- terraform/gcp/modules/bastion/bastion.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/gcp/modules/bastion/bastion.tf b/terraform/gcp/modules/bastion/bastion.tf index 3027a71df..b87955a4f 100644 --- a/terraform/gcp/modules/bastion/bastion.tf +++ b/terraform/gcp/modules/bastion/bastion.tf @@ -120,6 +120,7 @@ resource "google_compute_instance" "bastion" { metadata = { block-project-ssh-keys = true + enable-osconfig = "TRUE" } shielded_instance_config { From 4fb7a60ee1768fe78f7bc80c8a43a4b353f6bde6 Mon Sep 17 00:00:00 2001 From: Bob Callaway Date: Wed, 3 Jul 2024 13:35:51 -0400 Subject: [PATCH 2/2] terraform fmt Signed-off-by: Bob Callaway --- terraform/gcp/modules/bastion/bastion.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/gcp/modules/bastion/bastion.tf b/terraform/gcp/modules/bastion/bastion.tf index b87955a4f..d781d6abe 100644 --- a/terraform/gcp/modules/bastion/bastion.tf +++ b/terraform/gcp/modules/bastion/bastion.tf @@ -120,7 +120,7 @@ resource "google_compute_instance" "bastion" { metadata = { block-project-ssh-keys = true - enable-osconfig = "TRUE" + enable-osconfig = "TRUE" } shielded_instance_config {