astonishing-beach-97981
11/15/2023, 4:01 AMpublic static TargetGroup targetGroupCreator(Vpc myvpc) {
return new TargetGroup("myTg", TargetGroupArgs.builder()
.port(8080)
.protocol("HTTP")
.vpcId(myvpc.id())
.build());
}
and I end up with this error:
java.lang.UnsupportedOperationException: Convert [com.pulumi.aws.alb.TargetGroup.targetHealthStates]: Error converting 'java.util.Collections$UnmodifiableRandomAccessList' to 'TypeShape{type=interface java.util.List, parameters=[TypeShape{type=class com.pulumi.aws.alb.outputs.TargetGroupTargetHealthState, parameters=[]}]}'. null
Went over all resources in docs and example repo on github, cannot figure it out. Docs indicate that targetHealthStates does not apply to HTTP and therefore I left it out. Apparently it is causing problem even with its absence.
This code I am testing is pretty much the same as in the example in docs. Has anyone encountered this before? Am I missing something?
Thanks for any help or ideas!echoing-dinner-19531
11/15/2023, 8:20 AMastonishing-beach-97981
11/15/2023, 8:00 PMwonderful-wire-57788
11/21/2023, 10:04 PMwooden-country-28133
11/22/2023, 2:57 AM