When try to "Generate credentials" using some custom profile it doesn't recognize that region set in [default] profile from .aws/config file.
Run "aws configure" doesn't fix issue.
As workaround now can be set env variable AWS_DEFAULT_REGION, but is not very convenient.