Skip to content

Commit

Permalink
make aws teardown less noisy
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Dec 4, 2024
1 parent ce311fe commit a3399ac
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .evergreen/auth_aws/teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})
. $SCRIPT_DIR/../handle-paths.sh

pushd $SCRIPT_DIR
. ./activate-authawsvenv.sh
python ./lib/aws_assign_instance_profile.py

# If we've gotten credentials, ensure the instance profile is set.
if [ -f secrets-export.sh ]; then
. ./activate-authawsvenv.sh
python ./lib/aws_assign_instance_profile.py
fi

popd

0 comments on commit a3399ac

Please sign in to comment.