File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ resource "google_workflows_workflow" "default" {
9393 region = " us-central1"
9494 description = " Workflow that returns information about storage events"
9595
96+ deletion_protection = false # set to "true" in production
97+
9698 # Note that $$ is needed for Terraform
9799 source_contents = << EOF
98100 main:
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ resource "google_workflows_workflow" "default" {
4343 region = " us-central1"
4444 description = " A sample workflow"
4545 service_account = google_service_account. default . id
46+
47+ deletion_protection = false # set to "true" in production
48+
4649 labels = {
4750 env = " test"
4851 }
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ resource "google_workflows_workflow" "default" {
158158 region = " us-central1"
159159 description = " Workflow that routes a Cloud Storage event and executes a Cloud Run job"
160160
161+ deletion_protection = false # set to "true" in production
162+
161163 # Note that $$ is needed for Terraform
162164 source_contents = << EOF
163165 main:
You can’t perform that action at this time.
0 commit comments