fix(typo): Max session duration error message (#1179)

This commit is contained in:
Pepe Fagoaga
2022-06-02 15:08:30 +02:00
committed by GitHub
parent 2a54bbf901
commit e5cd42da55
+1 -1
View File
@@ -29,7 +29,7 @@ assume_role(){
if [[ -z $SESSION_DURATION_TO_ASSUME ]]; then
SESSION_DURATION_TO_ASSUME="3600"
elif [[ "${SESSION_DURATION_TO_ASSUME}" -gt "43200" ]] || [[ "${SESSION_DURATION_TO_ASSUME}" -lt "900" ]]; then
echo "$OPTRED ERROR!$OPTNORMAL - Role session duration must be more than 900 seconds and less than 4300 seconds"
echo "$OPTRED ERROR!$OPTNORMAL - Role session duration must be more than 900 seconds and less than 43200 seconds"
exit 1
fi