trek10inc / awsume

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

awsume -a should also set AWS_DEFAULT_REGION and AWS_REGION #28

Closed felipe1982 closed 6 years ago

felipe1982 commented 6 years ago

awsume -a only sets AWS_PROFILE and AWS_DEFAULT_PROFILE. I think it should also set region, if the role has the region set, else use the region in default has the region set.

felipe1982 commented 6 years ago

Might relate to issue #15 when region not set for profile, awsume should set the default region

mbarneyjr commented 6 years ago

This has been resolved in version 3.0.9

Thanks for the tip!

felipe1982 commented 6 years ago

Legend! Thanks