Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default region not recognized #8

Closed
raman-blyshchyk-vib opened this issue Oct 21, 2022 · 8 comments
Closed

Default region not recognized #8

raman-blyshchyk-vib opened this issue Oct 21, 2022 · 8 comments

Comments

@raman-blyshchyk-vib
Copy link

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.

@coderazzi
Copy link
Owner

coderazzi commented Oct 21, 2022 via email

@raman-blyshchyk-vib
Copy link
Author

Thank you, that worked!
Yes, I was using other than default profile and I completely forgot to add profile to configure command.
Maybe it is a good idea to add such hint to error message, what you think? Maybe it will save someone time :)

@coderazzi
Copy link
Owner

coderazzi commented Oct 25, 2022 via email

@coderazzi
Copy link
Owner

Hi, I released a new version on the beta channel (2.2.0-beta) covering this issue. Could you give it a try?

@raman-blyshchyk-vib
Copy link
Author

Sure, no problem, but for now last beta I see on plugins page https://plugins.jetbrains.com/plugin/16777-aws-codeartifact--maven/versions/beta is 2.1.1-beta

@coderazzi
Copy link
Owner

coderazzi commented Oct 31, 2022 via email

@raman-blyshchyk-vib
Copy link
Author

Tested, works like a charm. One small detail, in message "aws configure --profile myProfileName " there is extra space after profile name. I checked that my profile names don't contain any extra whitespaces after.

@coderazzi
Copy link
Owner

coderazzi commented Nov 6, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants