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:
- “PENDING to RUNNING”
- “RUNNING to RUNNING"
- “RUNNING to STOPPED"
- “STOPPED to STOPPED”
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?