diff --git a/aws/logs_monitoring/tools/publish_prod.sh b/aws/logs_monitoring/tools/publish_prod.sh index 5011797b..e7886d9f 100755 --- a/aws/logs_monitoring/tools/publish_prod.sh +++ b/aws/logs_monitoring/tools/publish_prod.sh @@ -37,13 +37,11 @@ else fi # Ensure AWS access before proceeding -SAML2AWS_IDP_PROVIDER=Browser ddsaml2aws login -a govcloud-us1-fed-human-engineering -AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity +aws-vault exec sso-govcloud-us1-fed-engineering -- aws sts get-caller-identity aws-vault exec sso-prod-engineering -- aws sts get-caller-identity echo "Publishing layers to GovCloud AWS regions" -SAML2AWS_IDP_PROVIDER=Browser ddsaml2aws login -a govcloud-us1-fed-human-engineering -LAYER_VERSION=$LAYER_VERSION FORWARDER_VERSION=$FORWARDER_VERSION AWS_PROFILE=govcloud-us1-fed-human-engineering ./tools/publish_layers.sh +LAYER_VERSION=$LAYER_VERSION FORWARDER_VERSION=$FORWARDER_VERSION aws-vault exec sso-govcloud-us1-fed-engineering -- ./tools/publish_layers.sh echo echo "Publishing layers to commercial AWS regions"