I have a script which uses the AWS CLI (currently v1.11.90) to coordinate various AWS resources. Amongst other things it calls aws cloudformation list-stacks three or four times in a row.
I fairly frequently get errors because my requests are being throttled:
An error occurred (Throttling) when calling the ListStacks operation (reached max retries: 4): Rate exceeded
In particular if I happen to have the CloudFormation console open in my browser this happens pretty reliably.
I would like to configure it to be more forgiving in these cases -- either to back off more aggressively, or to retry more times. I've tried to find a way of doing this and have seen a few references to being able to do it in boto, but I can't see how to do it via the CLI.