aws-cdk-examples
aws-cdk-examples copied to clipboard
Fargate Service with NLB missing securitygroup details
:bug: Bug Report
What is the problem?
When running the ECSFargateLoadBalanced sample in Java there is a statement missing to add the correct ingress rule to the fargate linked securitygroup.
Reproduction Steps
Just run the sample and you will not be able to connect to the sample app via the public url.
Environment
- CDK CLI Version: 1.62.0
- Example: fargate-load-balanced-service
- Example Version: ?
- OS: all
- Language: Java
Other information
I don't seem to be able to add a pull request to this issue but the missing line is:
fargateService.getService().getConnections().allowFromAnyIpv4(Port.tcp(80));
Thanks for reporting, I will add this fix!
😸 😷
Was fixed.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.