wet-fall-68417
02/28/2022, 9:54 AMerror: aws:lb/targetGroup:TargetGroup resource 'internal-lb-target-group' has a problem: expected target_type to be one of [instance ip lambda], got alb. Examine values at 'TargetGroup.TargetType'.
The alb type seems to not be supported by pulumi, which is a big problem for our pulumi managed infrastructure.great-queen-39697
02/28/2022, 2:24 PMwet-fall-68417
03/01/2022, 4:46 PMconst internalLbTargetGroup = new aws.lb.TargetGroup("internal-lb-target-group", {
name: "studio-internal-lb-target-group",
targetType: "alb",
port: 80,
protocol: "HTTP",
vpcId: vpc.id,
healthCheck: {
path: "/api/health",
interval: 10,
enabled: true,
},
tags: {
Owner: "studio",
project: "studio"
},
});
great-queen-39697
03/01/2022, 8:49 PM6. For Protocol, only TCP is allowed. Select the Port for your target group. This target group port must match the listener port of the Application Load Balancer. Alternatively, you can add or edit the listener port on the Application Load Balancer to match this port.https://docs.aws.amazon.com/elasticloadbalancing/latest/network/application-load-balancer-target.html#register-application-load-balancer-target
wet-fall-68417
03/02/2022, 8:03 AM