sparse-intern-71089
12/12/2018, 5:19 PMfull-dress-10026
12/12/2018, 5:20 PMfull-dress-10026
12/12/2018, 5:44 PMlet fibTG = new aws.elasticloadbalancingv2.TargetGroup("fib-tg", {
protocol: "HTTP",
port: 8080,
vpcId: network.vpcId,
healthCheck: {
healthyThreshold: 2,
unhealthyThreshold: 10,
timeout: 5,
interval: 300
}
});
let fibLB2 = infra.x.ecs.LoadBalancer.fromTargetGroupInfo("fib-fargate-lb", {
targetGroupArn: fibTG.arn,
hostPort: 80,
containerPort: 8080
});
But targetGroupArn
cannot be a Output<string>
. Using fromTargetGroupInfo
doesn't let you specify a cluster. Is that ok?full-dress-10026
12/12/2018, 6:29 PMfromPortInfo
.lemon-spoon-91807
12/12/2018, 6:29 PMfull-dress-10026
12/12/2018, 6:30 PMlemon-spoon-91807
12/12/2018, 6:33 PMlemon-spoon-91807
12/12/2018, 6:33 PMlemon-spoon-91807
12/12/2018, 6:33 PMlemon-spoon-91807
12/12/2018, 6:33 PMfull-dress-10026
12/12/2018, 6:38 PM