From 2ecb4fc796c2d0b97c5ee2298c70b539b35f0488 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Tue, 10 Dec 2024 11:07:53 +1100 Subject: [PATCH] fix: add deletion_protection to google workflow resources --- eventarc/workflows/main.tf | 2 ++ workflows/basic/main.tf | 3 +++ workflows/cloud_run_job/main.tf | 2 ++ 3 files changed, 7 insertions(+) diff --git a/eventarc/workflows/main.tf b/eventarc/workflows/main.tf index 1cd555b8d..02194e2d1 100644 --- a/eventarc/workflows/main.tf +++ b/eventarc/workflows/main.tf @@ -93,6 +93,8 @@ resource "google_workflows_workflow" "default" { region = "us-central1" description = "Workflow that returns information about storage events" + deletion_protection = false # set to "true" in production + # Note that $$ is needed for Terraform source_contents = <