From 7b81b9b922470c15198fcafeef030cbafe03bd3a Mon Sep 17 00:00:00 2001 From: Daniel Andrade Date: Fri, 8 Nov 2024 22:22:05 -0300 Subject: [PATCH] configure deletion_policy for env network projects --- 1-org/modules/network/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/1-org/modules/network/main.tf b/1-org/modules/network/main.tf index 0d4c108ed..d1b22bd52 100644 --- a/1-org/modules/network/main.tf +++ b/1-org/modules/network/main.tf @@ -29,6 +29,7 @@ module "base_shared_vpc_host_project" { billing_account = var.billing_account folder_id = var.folder_id disable_services_on_destroy = false + deletion_policy = var.project_deletion_policy activate_apis = [ "compute.googleapis.com", @@ -65,6 +66,7 @@ module "restricted_shared_vpc_host_project" { billing_account = var.billing_account folder_id = var.folder_id disable_services_on_destroy = false + deletion_policy = var.project_deletion_policy activate_apis = [ "compute.googleapis.com",