Skip to content

Commit

Permalink
Merge pull request #1121 from UKHSA-Internal/task/identify-and-skip-c…
Browse files Browse the repository at this point in the history
…i-envs-belonging-to-etl-infra/CDD-2252

Identify and skip CI test envs which belong to the ETL infra
  • Loading branch information
A-Ashiq authored Nov 25, 2024
2 parents bc20218 + 01c7f8e commit 8580809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/_terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ function _terraform_cleanup() {
echo "Environment $env is a test environment. It will be destroyed... "
echo
uhd terraform destroy:layer 20-app $env
elif [[ $env == etl-ci-* ]]; then
echo "Environment $env is a CI environment belonging to the ETL infra. Skipping this. "
else
echo "Environment $env is an engineer's dev or well known environment."
fi
Expand Down

0 comments on commit 8580809

Please sign in to comment.