This message was deleted.
# general
s
This message was deleted.
b
What is the default action you're trying to specify? When specifying the targetGroup, a
defaultAction
is created, and will forward requests to the provided targetGroup. Also, you can create a listener from the target group and specify the default action:
Copy code
appTargetGroup.createListener("appListerner", { 
   port: 80,
   protocol: "HTTPS",
   defaultAction: { ... }
});
m
404 by default
b
Try specifying the default action as part of the listener initialization -- Your rule looks fine to me. I'll have to defer to others - I'm relatively new to pulumi 🙂
m
Okay, I appreciate the effort. It could help me in my search. The other issue, is I’m trying to share 1 ALB between maybe apps, so I want a default targetGroup listener, I guess? Not sure.