green-crowd-42127
04/29/2022, 8:37 PMApplicationLoadBalancerTargetGroup
, it looks like I don't have the ability to set the loadBalancingAlgorithmType
even though is only a setting available to ApplicationLoadBalancerTargetGroups
.
Example Code:
const loadBalancer = new awsx.lb.ApplicationLoadBalancer(`${resourcePrefix}ALB`, { securityGroups: [ sg ] }, { replaceOnChanges: ['*'] });
const targetGroup = loadBalancer.createTargetGroup(
`${resourcePrefix}Group`, {
targetType: "instance",
healthCheck: { ... },
// Would expect loadBalancingAlgorithmType to be set here
// but it is not a property of type: ApplicationTargetGroupArgs
}, { replaceOnChanges: ['*'] });
It's creating each target group as a round_robin
which isn't ideal for what I'm building. Any work arounds besides going into the console and editing it?"@pulumi/awsx @ 0.30.0"
"@pulumi/aws @ 5.3.0"