trek10inc / awsume

A utility for easily assuming AWS IAM roles from the command line.
https://awsu.me
MIT License
497 stars 90 forks source link

awsume -l shows region as None when the Region has in fact been set #13

Closed felipe1982 closed 6 years ago

felipe1982 commented 6 years ago

aws configure --profile myuser set region ap-southeast-2

This sets the region.

aws configure --profile myuser get region returns ap-southeast-2 as expected.

awsume -l does not show it.

=====================AWS Profiles=====================
PROFILE             TYPE  SOURCE  MFA?  REGION
default             User  None    No    ap-southeast-2
myuser              User  None    No    None

The default appears correctly, as expected.

mbarneyjr commented 6 years ago

I will take a look and get back to you as soon as I can, thanks for the report!

mbarneyjr commented 6 years ago

Alright, I've taken a look, and released an update. The issue was only with the list-profiles feature. Everything else should have been functioning normally. The issue has been resolved if you update to 1.2.7, and everything should be displayed consistent with your config and credentials files. Thanks again for the report!