07/13/2021, 12:24 PM
I am running into what seems to be a bug in
? Has anyone seen this behavior before? Keeps saying
You cannot specify a target group weight on load balancers of type 'network'
and my group definition looks like:
const fileUploadListener = new'fileUploadListener',
      defaultActions: [
          type: 'forward',
          forward: {
            targetGroups: [{ arn: fileUploadTargetGroup.arn }],
      loadBalancerArn: // some ARN,
      port: 8084,
      protocol: 'TCP',
Rich diff shows it is assigning a value of
to the weight which I feel is like a default that breaks with NLBs
I think it is a bug unless there is a different way to create the listener that I am not aware of
Created ticket with the Terraform provider