File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6666cd " $CURRENT_PATH /local_tests"
6767if [ -z " $LAYER_PATH " ] && [ -n " $LAYER_NAME " ]; then
6868 # Get the latest available version
69- LATEST_AVAILABLE_VERSION=$( aws-vault exec serverless-sandbox-account-admin \
69+ LATEST_AVAILABLE_VERSION=$( aws-vault exec sso- serverless-sandbox-account-admin \
7070 -- aws lambda list-layer-versions --layer-name $LAYER_NAME --region sa-east-1 --max-items 1 \
7171 | jq -r " .LayerVersions | .[0] | .Version" )
7272
@@ -77,7 +77,7 @@ if [ -z "$LAYER_PATH" ] && [ -n "$LAYER_NAME" ]; then
7777 echo " The layer has already been downloaded, skipping"
7878 else
7979 echo " Downloading the latest $RUNTIME layer (version $LATEST_AVAILABLE_VERSION )"
80- URL=$( aws-vault exec serverless-sandbox-account-admin \
80+ URL=$( aws-vault exec sso- serverless-sandbox-account-admin \
8181 -- aws lambda get-layer-version --layer-name $LAYER_NAME --version-number $LATEST_AVAILABLE_VERSION \
8282 --query Content.Location --region sa-east-1 --output text)
8383 curl -k $URL -o " $LAYER "
Original file line number Diff line number Diff line change 6464docker login
6565
6666echo " Checking that you have access to the commercial AWS account"
67- aws-vault exec prod-engineering -- aws sts get-caller-identity
67+ aws-vault exec sso- prod-engineering -- aws sts get-caller-identity
6868
6969echo " Checking that you have access to the GovCloud AWS account"
7070ddsaml2aws login -a govcloud-us1-fed-human-engineering
@@ -73,10 +73,10 @@ AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
7373VERSION=$VERSION AGENT_VERSION=$AGENT_VERSION ./scripts/build_binary_and_layer_dockerized.sh
7474
7575echo " Signing the layer"
76- aws-vault exec prod-engineering -- ./scripts/sign_layers.sh prod
76+ aws-vault exec sso- prod-engineering -- ./scripts/sign_layers.sh prod
7777
7878echo " Publishing layers to commercial AWS regions"
79- aws-vault exec prod-engineering --no-session -- ./scripts/publish_layers.sh
79+ aws-vault exec sso- prod-engineering --no-session -- ./scripts/publish_layers.sh
8080
8181echo " Publishing layers to GovCloud AWS regions"
8282ddsaml2aws login -a govcloud-us1-fed-human-engineering
You can’t perform that action at this time.
0 commit comments