aws / aws/aws-cdk

aws-cdk-lib.aws_elasticloadbalancingv2: Invalid property for NLB "NetworkWeightedTargetGroup"

Open
#23,922 4 comments 3 reactions 1 assignee Claimed by @pahud View on GitHub
@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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.