cevoaustralia / aws-google-auth

Provides AWS STS credentials based on Google Apps SAML SSO auth (what a jumble!)
MIT License
538 stars 180 forks source link

Default region of ap-southeast-2 selected #156

Closed pmarkert closed 4 years ago

pmarkert commented 4 years ago

When initializing a new profile and answering the prompts, the saved ~/.aws/config defaults to the region ap-southeast-2. Is this intentional? Perhaps it should prompt the user to select a region or alternatively not add a region to the config section.

stevemac007 commented 4 years ago

Yes - you are right, it does default there - most probably due to me being in Australia and that being my default region.

This can be controlled by the command line:

 -R REGION, --region REGION
                        AWS region endpoint ($AWS_DEFAULT_REGION)

Enhancement request appreciated to make this more interactive if a value is not supplied using these methods.

stevemac007 commented 4 years ago

Will be part of the next release.