(ecs-patterns): Failing integration test #32506
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
Error occurred: InvalidDomainNameException - example.com. is reserved by AWS!
Behaviour: 1 out of 2 target groups always unhealthy
Try running sample image locally, port 90 doesn't work:
docker run -d -p 80:80 -p 90:90 amazon/amazon-ecs-sample:latest > curl http://localhost:90 FAIL
docker run -d -p 80:80 -p 90:80 amazon/amazon-ecs-sample:latest > curl http://localhost:90 WORK
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Integration tests should work seamlessly for anyone
Current Behavior
See description
Reproduction Steps
yarn integ test/aws-ecs-patterns/test/ec2/integ.multiple-application-load-balanced-ecs-service.js --force
Possible Solution
Use your own cert pattern
I can only think of 2 solutions. None of them are clean. Would need team advice:
hostPort
/ Then we can hardcode hostPort (anti-pattern):Additional Information/Context
No response
CDK CLI Version
main
Framework Version
No response
Node.js Version
v20.18.0
OS
Dev container
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: