Skip to content

Commit 7b8a6dd

Browse files
committed
terraform workspaces3
1 parent 6606deb commit 7b8a6dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure/azure-pr-teardown-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
export ENVIRONMENT="dev"
8484
export SUB_ENVIRONMENT="$WORKSPACE"
8585
86+
cd terraform
8687
terraform workspace new "$SUB_ENVIRONMENT" || terraform workspace select "$SUB_ENVIRONMENT"
8788
make destroy aws_account_no=${account_id} environment="$ENVIRONMENT" sub_environment="$SUB_ENVIRONMENT"
8889
displayName: Destroy terraform PR workspace and linked resources

0 commit comments

Comments
 (0)