Skip to content

Commit 58a23bb

Browse files
committed
Moved export to top
1 parent a83c692 commit 58a23bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

azure/templates/post-prod-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ steps:
2626
set -e
2727
if ! [[ $APIGEE_ENVIRONMENT =~ .*-*sandbox ]]; then
2828
export AWS_PROFILE=apim-dev
29+
export BUCKET_NAME=immunisation-prod-terraform-state-files
30+
2931
aws_account_no="$(aws sts get-caller-identity --query Account --output text)"
3032
3133
service_name=$(FULLY_QUALIFIED_SERVICE_NAME)
@@ -39,7 +41,6 @@ steps:
3941
cd terraform
4042
4143
make init
42-
export BUCKET_NAME=immunisation-prod-terraform-state-files
4344
make plan aws_account_name=prod environment=$workspace
4445
fi
4546
displayName: Plan Terraform

0 commit comments

Comments
 (0)