I was debugging why I was not able to get gsts to parse the region from ~/.aws/config even though the profile is set correctly, and that forced me to have to explicitly specify --aws-region to the gsts command in ~/.aws/config. With this change, it's now able to correctly parse the region from the AWS config.
I was debugging why I was not able to get gsts to parse the region from
~/.aws/config
even though the profile is set correctly, and that forced me to have to explicitly specify--aws-region
to thegsts
command in~/.aws/config
. With this change, it's now able to correctly parse the region from the AWS config.