diff --git a/tools/aws-assume-role.sh b/tools/aws-assume-role.sh index 30130d027..182de7177 100755 --- a/tools/aws-assume-role.sh +++ b/tools/aws-assume-role.sh @@ -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