big-journalist-62782
10/03/2022, 8:11 AMawsx.ecs.FargateService
to work with an ApplicationListener
that does authentication.
Without the authentication, I can specify portMappings: [listener]
inside the container
config, but when I add an authenticate-oidc
step and then a forward
step to a TargetGroup
, this stops working. portMappings
is supposed to accept a TargetGroup
as well as a Listener
but typescript refuses to allow it. This page https://www.pulumi.com/docs/guides/crosswalk/aws/ecs/ specifies a syntax that seems to be completely invalid (a PortMapping doesn’t have a targetGroup
input keyword). Has anyone managed to get this to work?Error: [Listener] was not connected to a [defaultAction] that can provide [portMapping]s
this is the error if I try to provide the listener