Reputation: 641
I use CodeBuild to deploy containers to AWS ECS cluster. Inside CodeBuild I've "aws ecs register-task-definition" and "aws ecs update-service" to register task definition and update the service with new task def. I have SNS subscription for changing ECS cluster state and I receive these notification for states in this order:
Regarding AWS documentation I understand that the states PENDING to RUNNING and RUNNING to STOPPED meaning that ECS Agent receives new tasks to start.
My question is what are other state means?
Upvotes: 0
Views: 897
Reputation: 12982
There are two status for an ECS task. lastStatus
means the current task status. desiredStatus
means the targeted status.
During a task start and stop, there will be 4 events omitted:
Upvotes: 1