If waiting for a stable ECS service fails during deploy, try it exactly one more time
Context for reviewers
For two applications using the template-infra, the Nava Labs Decision Support Tool project, and an internal Nava tool, the ECS service takes slightly more than 10 minutes to become stable (typically about 11 or 13).
The AWS wait command can't be configured to allow more than 10 minutes
Other approaches considered:
Sleeping. This is probably the simplest solution but doesn't seem as robust as simply trying the command twice.
Retrying a configurable number of times in a loop. This seems like premature complexity.
Ticket
n/a
Changes
Context for reviewers
Testing
Tested on internal tool (posted in Slack)