-
Notifications
You must be signed in to change notification settings - Fork 573
aws.region is not loaded from Vagrantfile #473
Comments
@kenorb Does your AMI exist in |
Thanks for reply. I've tried to change to us-west-2/m3.medium (as per your file), but this error happened. Re-tested again changing the region, didn't work, Vagrant is reporting I couldn't test any other AMI as per error above, I'll try again another time. |
I'm seeing several errors, including this one. The region is always us-east-1 and I can't seem to change it. It is set to us-west-1 in my ~/.aws/config file, and I can't set it in the Vagrant file. There is also an error specifying the keypair. Follow up - if I place the aws.secret_access_key and aws.access_key_id in the Vagrantfile, then the region is also read from the Vagrantfile. Also this corrected the keypair issue I was seeing. So the problem seems to be when reading from the ~/.aws/config file? In any case, I'm attaching the DEBUG log output in case it's helpful. |
@rocket-ron You can test PR #484 if that helps. |
See the mitchellh#484 merge request
I've got
Vagrantfile
(linked before the change) where I've changedaws.region
tous-west-1
(aws.region = "us-west-1"
), but when creating a new instance, it's still showing my old region (us-east-1
).I've removed the region from
~/.aws/config
, removedaws_profile
and it didn't help. Is there any reason why wouldaws.region
not be loaded directly fromVagrantfile
?The text was updated successfully, but these errors were encountered: