Skip to content

Commit fb29f2d

Browse files
committed
ssm
1 parent 1513d89 commit fb29f2d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

azure/templates/post-deploy.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ steps:
4040
- bash: |
4141
set -e
4242
43-
aws ssm put-parameter \
44-
--name "imms/apigee/non-prod/token" \
45-
--value "$APIGEE_ACCESS_TOKEN" \
46-
--type "SecureString" \
47-
--region "eu-west-2"
48-
4943
if ! [[ $APIGEE_ENVIRONMENT =~ .*-*sandbox ]]; then
5044
export AWS_PROFILE=apim-dev
5145
aws_account_no="$(aws sts get-caller-identity --query Account --output text)"
@@ -67,6 +61,13 @@ steps:
6761
6862
cd terraform
6963
64+
65+
aws ssm put-parameter \
66+
--name "imms/apigee/non-prod/token" \
67+
--value "$APIGEE_ACCESS_TOKEN" \
68+
--type "SecureString" \
69+
--region "eu-west-2"
70+
7071
make init
7172
make apply aws_account_no=${aws_account_no} environment=$workspace
7273

0 commit comments

Comments
 (0)