amazon-ecs-deploy-task-definition
amazon-ecs-deploy-task-definition copied to clipboard
feat: adds code for showing service event info when using ecs deploy controller
Issue #, if available: https://github.com/aws-actions/amazon-ecs-deploy-task-definition/issues/447
Description of changes:
- Added the new input show-service-events to enable the routine
- The routine will call describe-ecs-service each amount of seconds seconds to check how is the rolloutState of the deployment.
- If it is FAILED or IN_PROGRESS but with failedTasksCount more than 0, will detect that the deployment didn't go well, will show the latest events and throw error.
- If there is a task failed, show the stop reason of the task
- If it is COMPLETED keep going.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.