vagrant-aws
vagrant-aws copied to clipboard
RequestLimitExceeded exception
Hello. When we are starting about 20 instances in parallel - it raises RequestLimitExceeded from AWS API. The problem is here: https://github.com/mitchellh/vagrant-aws/blob/master/lib/vagrant-aws/action/run_instance.rb#L135, server.wait_for
send requests every second. To avoid this just need to use second argument - server.wait_for(2, 5)
- and requests will be every 5 seconds.