aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

(ecs): ecs-service-with-advanced-alb-config example does not work

Open anggras opened this issue 3 years ago • 4 comments

What is the problem?

Upon cdk deploy, the ECS service stuck and unable to proceed with message:

service XXXXX was unable to place a task because no container instance met all of its requirements. Reason: No Container Instances were found in your cluster. For more information, see the Troubleshooting section.

Reproduction Steps

  1. Clone the ecs-service-with-advanced-alb-config example
  2. Install the requirements
  3. Run cdk deploy

What did you expect to happen?

The sample ECS service should be deployed successfully

What actually happened?

The deployment is stuck and unable to complete. The ECS service event console shows the following message:

service XXXXX was unable to place a task because no container instance met all of its requirements. Reason: No Container Instances were found in your cluster. For more information, see the Troubleshooting section.

CDK CLI Version

2.3.0 (build beaa5b2)

Framework Version

No response

Node.js Version

16.13.1

OS

macOS

Language

Python

Language Version

No response

Other information

No response

anggras avatar Dec 29 '21 03:12 anggras