Skip to content

Commit f1a5ee4

Browse files
authored
Fix GovCloud Role name (#768)
1 parent 23886fb commit f1a5ee4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

aws/logs_monitoring/tools/publish_prod.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ else
3737
fi
3838

3939
# Ensure AWS access before proceeding
40-
SAML2AWS_IDP_PROVIDER=Browser ddsaml2aws login -a govcloud-us1-fed-human-engineering
41-
AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
40+
aws-vault exec sso-govcloud-us1-fed-engineering -- aws sts get-caller-identity
4241
aws-vault exec sso-prod-engineering -- aws sts get-caller-identity
4342

4443
echo "Publishing layers to GovCloud AWS regions"
45-
SAML2AWS_IDP_PROVIDER=Browser ddsaml2aws login -a govcloud-us1-fed-human-engineering
46-
LAYER_VERSION=$LAYER_VERSION FORWARDER_VERSION=$FORWARDER_VERSION AWS_PROFILE=govcloud-us1-fed-human-engineering ./tools/publish_layers.sh
44+
LAYER_VERSION=$LAYER_VERSION FORWARDER_VERSION=$FORWARDER_VERSION aws-vault exec sso-govcloud-us1-fed-engineering -- ./tools/publish_layers.sh
4745

4846
echo
4947
echo "Publishing layers to commercial AWS regions"

0 commit comments

Comments
 (0)