I defined a cluster in ECS and could not clean it correctly. I have completed the EC2 instances associated with this cluster that are being recreated. Clusters / repositories / services do not appear on the ECS console. In fact, when I go to this service through the console, I see the startup wizard. I started digging with the CLI.
When issuing commands:
- aws ecs list-container instances
- aws ecs list-services
- aws ecs list-tasks
I see the message An error occurred (ClusterNotFoundException) when the operation ____: Cluster was not found. (even when turning on my region).
When issuing a command:
- aws ecs description-clusters
I get the result:
{ "clusters": [], "failures": [ { "arn": "arn:aws:ecs:us-east-1:123456789012:cluster/default", "reason": "MISSING" } ] }
Any ideas on how I can clear my mess would be greatly appreciated. Thanks!
source share