[elasticloadbalancingv2] NetworkTargeGroup should inherit protocol from listener #9331
Labels
@aws-cdk/aws-elasticloadbalancingv2
Related to Amazon Elastic Load Balancing V2
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
in-progress
This issue is being actively worked on.
p2
If you create a network target group by using the
addTargets
method, the target group usesTCP
as protocol instead of inheriting the protocol of the listener itself.Reproduction Steps
Create new NetworkListener with TCP_UDP as protocol and call addTargets.
Error Log
You will see a protocol mismatch when deploying the app.
Environment
Other
[x] I can create a PR if you think this is valid.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: