Patterns for resilient AWS Fargate task execution with AWS Step Functions.
This example shows you how to make scheduled Fargate tasks resilient by using the Step Functions' "Retry" feature.
This example shows you how to run parameterized and parallerized Fargate tasks by using the Step Functions' "Map" state.
This example shows you how to handle errors based on the "stoppedReason" field of ECS task result.
You can do "Retry when the error is ResourceInitializationError
, but do not retry and just fail when the error is CannotPullContainerError
", for example. See the full list of the error codes in the Amazon ECS documentation.
- Fork (https://github.com/toricls/aws-fargate-with-step-functions/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the main branch
- Create a new Pull Request