aws-cdk-lib.aws_elasticloadbalancingv2: Invalid property for NLB "NetworkWeightedTargetGroup"
Open
@aws-cdk/aws-elasticloadbalancingv2
bug
documentation
effort/medium
p2
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 74
Description
### Describe the issue
There is no such thing as Weighted Target Group for NLB, at this moment this feature is exclusive for ALB.
Trying to build a NLB using more than one target group will retutn the error below:
_"You cannot specify multiple target groups in a single action with a load balancer of type 'network' (Service: ElasticLoadBalancingV2, Status Code: 400"_
### Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.NetworkWeightedTargetGroup.html
Contributor guide
Assessment
This issue has not been assessed yet.