vagrant-aws icon indicating copy to clipboard operation
vagrant-aws copied to clipboard

RequestLimitExceeded exception

Open pyromaniac opened this issue 10 years ago • 8 comments

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.

pyromaniac avatar Apr 24 '14 02:04 pyromaniac