File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,11 @@ steps:
140140 export APIGEE_APP_ID=973b20ff-6e57-4248-b94f-200a18a03e37
141141 echo "api key- $STATUS_API_KEY"
142142
143+ #Exporting the same profile with which Terraform got deployed
144+ export AWS_PROFILE=apim-dev
145+ aws_account_no="$(aws sts get-caller-identity --query Account --output text)"
146+ echo aws_account_no: $aws_account_no
147+
143148 aws ssm put-parameter \
144149 --name "imms/apigee/non-prod/token" \
145150 --value "$(secret.AccessToken)" \
@@ -157,11 +162,6 @@ steps:
157162 --value "$(INT_CLIENT_SECRET)" \
158163 --type "SecureString" \
159164 --region "eu-west-2"
160-
161- #Exporting the same profile with which Terraform got deployed
162- export AWS_PROFILE=apim-dev
163- aws_account_no="$(aws sts get-caller-identity --query Account --output text)"
164- echo aws_account_no: $aws_account_no
165165
166166 poetry lock --no-update
167167 poetry install
You can’t perform that action at this time.
0 commit comments