From 29e0ec836b01d47a61dd98941ac8bb12b15ab2db Mon Sep 17 00:00:00 2001 From: Elliot Date: Mon, 24 Jun 2024 16:15:59 +0000 Subject: [PATCH] undo the removal of kms_prevent_destroy in 0-bootstrap --- 0-bootstrap/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/0-bootstrap/main.tf b/0-bootstrap/main.tf index bac71557f..3c48d6dda 100644 --- a/0-bootstrap/main.tf +++ b/0-bootstrap/main.tf @@ -60,6 +60,7 @@ module "seed_bootstrap" { project_prefix = var.project_prefix encrypt_gcs_bucket_tfstate = true key_rotation_period = "7776000s" + kms_prevent_destroy = !var.bucket_tfstate_kms_force_destroy project_labels = { environment = "bootstrap"