Python ECS Example does not register EC2 instances with the ECS Cluster #562
Labels
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
ngde/pod
Great issues for pods
p1
What is the problem?
https://github.com/aws-samples/aws-cdk-examples/blob/master/python/ecs/ecs-service-with-advanced-alb-config/app.py
The Python ECS example does not work as expected. The ECS cluster is created and the auto scaling groups are created, but no ec2 instances are registered.
Additionally, the STANDARD5 (m5.micro) are not available in us-east-1.
Reproduction Steps
Run the python example in us-east-1
https://github.com/aws-samples/aws-cdk-examples/blob/master/python/ecs/ecs-service-with-advanced-alb-config/app.py
What did you expect to happen?
I expected an ECS cluster with ec2 instances assigned and the example to work as written.
What actually happened?
ECS cluster gets created, ec2 instances get created, but these instances are not registered to the ECS Cluster.
CDK CLI Version
1.130.0 (build 9c094ae)
Framework Version
No response
Node.js Version
v16.13.0
OS
Ubuntu
Language
Python
Language Version
3.8.2
Other information
No response
The text was updated successfully, but these errors were encountered: