You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for an awesome project! We are using awsu for authentication for our aws mfa setup. Now we're expanding operations and are going to set up an aws account in a different region. We currently use awsu to switch profiles between aws accounts with profiles. We would like for awsu to also manage the region differences, which it seems not to do at the moment:
Using "source_profile" like that is just an example. We could put the "region" attribute directly under the "dev-rp-us-prod" section if that makes implementation easier.
Basically any way that could make awsu -p dev-rp-prod -- aws ec2 describe-availability-zones --output text --query 'AvailabilityZones[0].[RegionName]' work. Cause right now we need to specify region separately, like awsu -p dev-rp-prod -- aws ec2 describe-availability-zones --region us-east-1 --output text --query 'AvailabilityZones[0].[RegionName]'
Hello!
Thanks for an awesome project! We are using awsu for authentication for our aws mfa setup. Now we're expanding operations and are going to set up an aws account in a different region. We currently use awsu to switch profiles between aws accounts with profiles. We would like for awsu to also manage the region differences, which it seems not to do at the moment:
In order to handle regions, awsu would also set the env var "AWS_DEFAULT_REGION". In the AWS config file format this should be called "region": https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html. In "config" we have
If we could do something like
That would be awesome. Thoughts?
The text was updated successfully, but these errors were encountered: