aws-cdk-examples
aws-cdk-examples copied to clipboard
(ecs): ecs-service-with-advanced-alb-config example does not work
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
- Clone the ecs-service-with-advanced-alb-config example
- Install the requirements
- 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