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

"unknown region given" #3

Open
ticktockhouse opened this issue Jun 29, 2016 · 2 comments
Open

"unknown region given" #3

ticktockhouse opened this issue Jun 29, 2016 · 2 comments

Comments

@ticktockhouse
Copy link

My ~/.aws/credentials file looks like this:

[myprojname] aws_access_key_id = AKBLAHBLAHBLAHBLAH aws_secret_access_key = hM/BLAHBLAHBLAHBLAHBLAHBLAH region = eu-central-1

I have a function set in my .bashrc so that these show up as env vars:

AWS_DEFAULT_REGION=eu-central-1 AWS_SECRET_ACCESS_KEY=hM/BLAHBLAHBLAHBLAHBLAHBLAH AWS_ACCESS_KEY_ID=AKBLAHBLAHBLAHBLAH

I have set up a .moltar-project in the relevant directory with these contents:

myprojname

And I have tags on my instances:

Environment: testing
Project: myprojname

Yet, when I do:

moltar testing ls

in that directory, I get the error:

unknown region given

It would appear that moltar is not accepting eu-central-1as a valid region, but as far as I can see, it should be. Any ideas why this would be happening?

@dwb
Copy link
Contributor

dwb commented Jun 29, 2016

I would bet it's because we're currently still using an AWS client library from before the official one launched, and it has no knowledge of eu-central-1. Happily, @zoltrain has just this week been porting the project to the official library, so if I'm correct, a fix should be coming in soon!

@ticktockhouse
Copy link
Author

Aha, excellent. I look forward to it! 👍

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