From ae3cab522330476a017289e141f3a4aa214e4ab7 Mon Sep 17 00:00:00 2001 From: Ivan Klishch Date: Mon, 8 Apr 2024 16:50:12 -0400 Subject: [PATCH] Fix GovCloud Role name --- aws/logs_monitoring/tools/publish_prod.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aws/logs_monitoring/tools/publish_prod.sh b/aws/logs_monitoring/tools/publish_prod.sh index 5011797b0..e7886d9f0 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"