Skip to content

Commit 06395b8

Browse files
authored
use sso for govcloud (#464)
1 parent a388918 commit 06395b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/publish_prod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ if [ "$CONT" != "y" ]; then
8585
else
8686
echo "Ensuring you have access to the AWS GovCloud account"
8787
ddsaml2aws login -a govcloud-us1-fed-human-engineering
88-
AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
88+
aws-vault exec sso-govcloud-us1-fed-engineering -- aws sts get-caller-identity
8989

9090
echo "Publishing layers to GovCloud AWS regions"
9191
ddsaml2aws login -a govcloud-us1-fed-human-engineering
92-
VERSION=$LAYER_VERSION AWS_PROFILE=govcloud-us1-fed-human-engineering ./scripts/publish_layers.sh
92+
VERSION=$LAYER_VERSION aws-vault exec sso-govcloud-us1-fed-engineering -- ./scripts/publish_layers.sh
9393
fi
9494

9595
echo "Answer 'n' if GitLab already did this"

0 commit comments

Comments
 (0)