Open euri10 opened 5 years ago
You don't need to put profile in the name of the profile.
docker-machine does not find your profile and it therefore using the default region us-east-1
Try:
[perso2]
region = us-west-2
output = json
Note that I didn't add the profile prefix myself, it's been set that way with aws cli running aws configure --profile perso2
Even with just [perso2]
as suggested @gdippolito it's still creating the instance on us-east-1
cat ~/.aws/config
[perso2]
region = us-west-2
output = json
I have this in my config
I enter
AWS_PROFILE=perso2 docker-machine create --driver amazonec2 toto
toto is created on us-east-1
Am I doing something wrong ?