Skip to content

Commit 3ae6bc3

Browse files
authored
use sso-govcloud-us1-fed-engineering for govcloud (#518)
1 parent 01ebd6d commit 3ae6bc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/publish_prod.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ if [ "$CONT" != "y" ]; then
7777
else
7878
echo "Ensuring you have access to the AWS GovCloud account"
7979
ddsaml2aws login -a govcloud-us1-fed-human-engineering
80-
AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
80+
aws-vault exec sso-govcloud-us1-fed-engineering -- aws sts get-caller-identity
8181

8282
echo "Publishing layers to GovCloud AWS regions"
8383
ddsaml2aws login -a govcloud-us1-fed-human-engineering
84-
VERSION=$LAYER_VERSION AWS_PROFILE=govcloud-us1-fed-human-engineering ./scripts/publish_layers.sh
84+
VERSION=$LAYER_VERSION aws-vault exec sso-govcloud-us1-fed-engineering -- ./scripts/publish_layers.sh
8585
fi
8686

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

0 commit comments

Comments
 (0)