Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Invalid region specified on eu-north-1 #4854

Open
olegbliaher opened this issue Dec 4, 2020 · 2 comments
Open

Invalid region specified on eu-north-1 #4854

olegbliaher opened this issue Dec 4, 2020 · 2 comments

Comments

@olegbliaher
Copy link

Hi there,

Trying to run the following:

docker-machine -D create --driver amazonec2 --amazonec2-vpc-id vpc-1234567 --amazonec2-subnet-id subnet-123456789 --amazonec2-region=eu-north-1 --amazonec2-zone a aws01

and getting the following:

Docker Machine Version:  0.16.0, build 702c267f
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver amazonec2
Plugin server listening at address 127.0.0.1:42337
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver amazonec2
Plugin server listening at address 127.0.0.1:40865
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(aws01) Calling .GetMachineName
(aws01) Calling .DriverName
(aws01) Calling .GetCreateFlags
(aws01) Calling .SetConfigFromFlags
Error setting machine configuration from flags provided: Invalid region specified

It works better with other regions, but it's in that region I have a gitlab-runner server that needs to create some nice containers!

Any help would be appreciated.

@johanwistrom
Copy link

I am experiencing the same issue even though the code in region.go includes eu-north-1

@tvestelind
Copy link

It was added to version 0.16.2, so make sure you are running that version or later.

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

No branches or pull requests

3 participants