Closed ldormoy closed 4 years ago
I mistakenly assumed that --aws-region
was used to set the region in the config, but I realize now it's used as config parameter for the AWS SDK client .
I guess the easiest way to deal with it is to keep a separate static .aws/config
with the region set for each profile.
According to the AWS CLI doc:
I think it would make sense to use the config file as:
Important note about the AWS
config
file and named profiles:So if you do make this change, it's important to prefix the profile with
profile
, except if it's the default profile.Do you have the capacity to work on this soon? Asking because otherwise I can try to submit a PR, if it's okay for you.