File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ if [ "$CONT" != "y" ]; then
8585else
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
9393fi
9494
9595echo " Answer 'n' if GitLab already did this"
You can’t perform that action at this time.
0 commit comments