File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3434# Ensure AWS access before proceeding
3535ddsaml2aws login -a govcloud-us1-fed-human-engineering
3636AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
37- aws-vault exec prod-engineering -- aws sts get-caller-identity
37+ aws-vault exec sso- prod-engineering -- aws sts get-caller-identity
3838
3939# Ensure pypi registry access
4040read -p " Do you have access to PyPI (y/n)?" CONT
@@ -64,11 +64,11 @@ echo "Building layers..."
6464
6565echo
6666echo " Signing layers for commercial AWS regions"
67- aws-vault exec prod-engineering -- ./scripts/sign_layers.sh prod
67+ aws-vault exec sso- prod-engineering -- ./scripts/sign_layers.sh prod
6868
6969echo
7070echo " Publishing layers to commercial AWS regions"
71- VERSION=$LAYER_VERSION aws-vault exec prod-engineering -- ./scripts/publish_layers.sh
71+ VERSION=$LAYER_VERSION aws-vault exec sso- prod-engineering -- ./scripts/publish_layers.sh
7272
7373echo " Publishing layers to GovCloud AWS regions"
7474ddsaml2aws login -a govcloud-us1-fed-human-engineering
Original file line number Diff line number Diff line change 44set -e
55
66./scripts/build_layers.sh
7- aws-vault exec serverless-sandbox-account-admin -- ./scripts/sign_layers.sh sandbox
8- aws-vault exec serverless-sandbox-account-admin -- ./scripts/publish_layers.sh
7+ aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/sign_layers.sh sandbox
8+ aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/publish_layers.sh
99
1010# Automatically create PR against github.com/DataDog/documentation
1111# If you'd like to test, please uncomment the below line
Original file line number Diff line number Diff line change 22
33# Usage - run commands from repo root:
44# To check if new changes to the layer cause changes to any snapshots:
5- # BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec serverless-sandbox-account-admin -- ./scripts/run_integration_tests
5+ # BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/run_integration_tests
66# To regenerate snapshots:
7- # UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX aws-vault exec serverless-sandbox-account-admin -- ./scripts/run_integration_tests
7+ # UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/run_integration_tests
88
99set -e
1010
You can’t perform that action at this time.
0 commit comments