Has anyone ever come across the following error after running vagrant up --provider=aws when using the vagrant-aws plugin:/home/rfynes/.vagrant.d/gems/gems/excon-0.22.1/lib/excon/middlewares/expects.rb:10:in `response_call': Expected(200) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest)
It's not an invalid creds issue, the specifed AMI is valid and the key-pair name/location is correct. Here's a look at my Vagrantfile for the aws provider:Vagrant.configure("2") do |config|config.vm.box = "aws-dummy"config.vm.provider :aws do |aws, override|aws.access_key_id = "..."aws.secret_access_key = "..."aws.keypair_name = "vagrant-aws"aws.region = "eu-west-1"aws.instance_type = "t1.micro"aws.ami = "ami-605c5314"override.ssh.private_key_path = "~/.ssh/vagrant-aws.pem"endendI'm just testing, so the Vagrantfile for the project itself is minimal, as follows:Vagrant.configure("2") do |config|config.vm.box = "aws-dummy"endThis appears to be the exact same problem that these guys are having here:...and the output linked to in the question is the same as my output (within reason: AMI, region etc.)Any help is appreciated.-Rob--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I had the same issue, for me it was a typo in the keypair name. Also check that the security groups (if any) exist.
HTH, Torben