Network Load Balancer listener TargetGroup cannot have weight #20163
Labels
bug
Addresses a defect in current functionality.
service/elb
Issues and PRs that pertain to the elb service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform version:
1.0.2
AWS Provider Version:
3.49.0
Affected Resource(s)
Expected Behavior
When creating a listener for a network load balancer it shouldn't specify a weight value for the default forward action in the call to the AWS API.
Actual Behavior
An AWS error saying:
You cannot specify a target group weight on load balancers of type 'network'
It has a default value of
1
for default forward action which doesn't work with NLBsReferences
The text was updated successfully, but these errors were encountered: