File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 4343 echo "##vso[task.setvariable variable=APIGEE_ENVIRONMENT]internal-dev"
4444 displayName: Set AWS default region and Terraform state bucket
4545
46- - bash : |
47- export AWS_PROFILE=apim-dev
48- account_id="$(aws sts get-caller-identity --query Account --output text)"
49-
50- cd terraform
51- terraform workspace select $(WORKSPACE)
52- make init && make destroy aws_account_no=${account_id} environment=$(WORKSPACE)
53- displayName: Destroy terraform PR workspace and linked resources
54- retryCountOnTaskFailure: 2
55-
5646 - bash : |
5747 export AWS_PROFILE=apim-dev
5848 pyenv install -s 3.11.11
6858 workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription"
6959 env:
7060 SQS_ARN: "$(ID_SYNC_QUEUE_ARN)"
61+
62+ - bash : |
63+ export AWS_PROFILE=apim-dev
64+ account_id="$(aws sts get-caller-identity --query Account --output text)"
65+
66+ cd terraform
67+ terraform workspace select $(WORKSPACE)
68+ make init && make destroy aws_account_no=${account_id} environment=$(WORKSPACE)
69+ displayName: Destroy terraform PR workspace and linked resources
70+ retryCountOnTaskFailure: 2
You can’t perform that action at this time.
0 commit comments