rich-exabyte-94739
10/02/2020, 5:55 PMfrontEndTargetGroup, err := lb.NewTargetGroup(ctx, "foo-tg", &lb.TargetGroupArgs{
Name: pulumi.String("foo-tg"),
Port: <http://pulumi.Int|pulumi.Int>(80),
Protocol: pulumi.String("HTTP"),
VpcId: vpc.ID(),
TargetType: pulumi.String("ip"),
HealthCheck: &lb.TargetGroupHealthCheckArgs{
Enabled: pulumi.Bool(true),
Path: pulumi.String("/health"),
Protocol: pulumi.String("HTTP"),
HealthyThreshold: <http://pulumi.Int|pulumi.Int>(5),
UnhealthyThreshold: <http://pulumi.Int|pulumi.Int>(5),
Timeout: <http://pulumi.Int|pulumi.Int>(5),
},
})
if err != nil {
return err
}
I'm just not sure where to go after this. How do I add an IP address to this target group?witty-candle-66007
10/02/2020, 6:06 PMrich-exabyte-94739
10/05/2020, 2:42 PMwitty-candle-66007
10/05/2020, 3:20 PMrich-exabyte-94739
10/05/2020, 5:43 PM