Skip to content

Commit

Permalink
chore: add exit code for aws assume script (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper authored Dec 7, 2023
1 parent 4c5d364 commit 82aab1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/aws-assume-role.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@ then
echo -e "${BOLD}AWS_ACCESS_KEY_ID: ${NOFORMAT} ${AWS_ACCESS_KEY_ID}"
echo -e "${BOLD}AWS_SECRET_ACCESS_KEY:${NOFORMAT} ${AWS_SECRET_ACCESS_KEY}"
echo -e "${BOLD}AWS_SESSION_TOKEN: ${NOFORMAT} ${AWS_SESSION_TOKEN}"
else
# The script wasn't successful
exit 1
fi

0 comments on commit 82aab1f

Please sign in to comment.