From 1601671939708f22f8b652ce82b2a21834c86270 Mon Sep 17 00:00:00 2001 From: ensonic Date: Wed, 4 Dec 2024 10:10:08 +0000 Subject: [PATCH] Remove some cleanup code. We only experimented with that in robco-ensonic. No need to run this for all projects, --- deploy.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deploy.sh b/deploy.sh index 935caf31..5df63167 100755 --- a/deploy.sh +++ b/deploy.sh @@ -229,13 +229,6 @@ function terraform_apply { # We've stopped managing Google Cloud projects in Terraform, make sure they # aren't deleted. terraform_exec state rm google_project.project 2>/dev/null || true - # echo "Importing CA resources" - # echo -n "CA: " - terraform_exec state rm google_privateca_certificate_authority.ca 2>/dev/null || true - # terraform_exec import google_privateca_certificate_authority.ca robco-ensonic/europe-west1/robco-ensonic-ca-pool/robco-ensonic-ca - # echo -n "CA Pool: " - # terraform_exec state rm google_privateca_ca_pool.ca_pool - # terraform_exec import google_privateca_ca_pool.ca_pool robco-ensonic/europe-west1/robco-ensonic-ca-pool terraform_exec apply ${TERRAFORM_APPLY_FLAGS} \ || die "terraform apply failed"