realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

"Rate exceeded" with default retry limit #87

Closed amcinnes closed 1 year ago

amcinnes commented 4 years ago

My team has some projects which involve deploying about 10 stacks in parallel to the same AWS account and region. If we deploy multiple of these projects at once we see stackup failing with "Rate exceeded" error.

Our developers and/or per-application deployment scripts ideally shouldn't have to think about setting a specific --retry-limit option when they deploy, as this is a generic CloudFormation API concern rather than an application-specific concern. I would like stackup to keep retrying for a very long time, with exponential backoff, so that it gracefully handles the case where many deployments are happening at once.

Related to https://github.com/realestate-com-au/stackup/issues/55 .