machine icon indicating copy to clipboard operation
machine copied to clipboard

Invalid region specified on eu-north-1

Open olegbliaher opened this issue 5 years ago • 2 comments

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.

olegbliaher avatar Dec 04 '20 16:12 olegbliaher

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

johanwistrom avatar Mar 18 '21 14:03 johanwistrom

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

tvestelind avatar Mar 26 '21 10:03 tvestelind