amazon-ecs-deploy-task-definition icon indicating copy to clipboard operation
amazon-ecs-deploy-task-definition copied to clipboard

Action failing with error on AWS console that container doesn't have the agent connected

Open programmingwithalex opened this issue 3 years ago • 1 comments

The GitHub action will periodically fail, but succeed in some cases. The error on the GitHub Action page is:

Error: Resource is not in the state servicesStable

This is the error on the AWS ECS Service > Events tab:

service my-service was unable to place a task because no container instance met all of its requirements. The closest matching container-instance ****af580523fe1022f095e doesn't have the agent connected. For more information, see the Troubleshooting section.

I ssh'ed into the ec2 instance and checked the ecs service was running with sudo systemctl status ecs -l and it is active.

programmingwithalex avatar Oct 12 '21 14:10 programmingwithalex

I have the same issue

rich-97 avatar Mar 17 '22 17:03 rich-97