2 Answers
- Newest
- Most votes
- Most comments
1
Hello there,
The error message is self-explanatory. It implies that one of the tasks in the task lists you are trying to wait on is in a STOPPED state.
You should run the describe command below to confirm all the task status and see the one in stopped state while that error message is still being reported for the aws ecs wait tasks-running
command:
% aws ecs describe-tasks \
--cluster ${clusterName} \
--tasks ${TASK_IDS} \
--query 'tasks[*].containers[*].[lastStatus,taskArn]' --output text
For more info on this command, refer to the documentation here.
answered 2 years ago
0
STOPPED one is okay I can understand the output. But the first one has not more output just Waiter TasksRunning failed: Waiter encountered a terminal failure state
answered 2 years ago
Relevant content
- asked a year ago
- asked 3 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago