awscli-login
awscli-login copied to clipboard
invalid literal for int() with base 10: '' when omitting role selection
If one hits return instead of selecting a role by number, one gets the error message invalid literal for int() with base 10: ''
, which is programmer-centric but not user-centric. Placing this in a loop with a message stating "Please select a role or enter 'q' to quit" might be more appropriate.
: aws login
Please choose the role you would like to assume:
Account: 224588347132
[ 0 ]: ApplicationServicesAdmins
Account: 378517677616
[ 1 ]: TechServicesStaff
Account: 531841101767
[ 2 ]: ApplicationServicesAdmins
Account: 617683844790
[ 3 ]: ApplicationServicesAdmins
Account: 621331288878
[ 4 ]: ApplicationServicesAdmins
Account: 736533337653
[ 5 ]: ADAdmins
Selection:
invalid literal for int() with base 10: ''
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.