refined-vegetable-66224
02/10/2020, 2:58 PMconst alb = new awsx.elasticloadbalancingv2.ApplicationLoadBalancer(
``net-lb-${envName}`, { external: true, securityGroups: cluster.securityGroups });`
`const web = alb.createListener(web-${envName}
, {`
port: 80,
external: true,
defaultAction: {
type: "redirect",
redirect: {
protocol: "HTTPS",
port: "443",
statusCode: "HTTP_301",
},
},
});
But, when trying to "pulumi up" I'm getting the following error : Error: [Listener] was not connected to a [defaultAction] that can provide [portMapping]s
I couldn't find anything in the Pulumi docs: https://www.pulumi.com/docs/reference/pkg/python/pulumi_aws/elasticloadbalancingv2/
Any help would be appreciated