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 appreciatedNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by