From f53833ad20365020d966e3b0f59583d537f129a1 Mon Sep 17 00:00:00 2001 From: carlssonk Date: Sun, 29 Sep 2024 00:25:58 +0200 Subject: [PATCH] Path --- .github/workflows/destroy.yml | 2 +- environments/staging-and-prod/main.tf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index 759ea0c..b1205d9 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -84,7 +84,7 @@ jobs: - name: Terraform Destroy run: | - if ! ./scripts/ci_retry_command.sh "terraform destroy -auto-approve"; then + if ! ../../scripts/ci_retry_command.sh "terraform destroy -auto-approve"; then echo "Terraform failed after all retry attempts" exit 1 fi diff --git a/environments/staging-and-prod/main.tf b/environments/staging-and-prod/main.tf index 004e919..ae90a04 100644 --- a/environments/staging-and-prod/main.tf +++ b/environments/staging-and-prod/main.tf @@ -29,6 +29,7 @@ terraform { } // TODO +// Fix non-prod subdomains to this format: www -> [env].example.com | subdomain-[env].example.com // Setup and test staging environment // Set up a separate aws account for storing artifacts // Create a script merging iam policies together