wide-photographer-21993
05/01/2023, 11:30 PMconst alb = new awsx.lb.ApplicationLoadBalancer(`lb-unified-${packageInfo.packageName}`, {
internal: false,
subnetIds: vpc.publicSubnets.then(subnets => subnets.map(s => s.id)),
defaultTargetGroup: {
port: packageInfo.containerPort,
protocol: 'HTTP',
healthCheck: {
path: '/',
healthyThreshold: 2,
unhealthyThreshold: 5,
interval: 15,
},
},
listeners: [{
port: 443,
protocol: 'HTTPS',
sslPolicy: 'ELBSecurityPolicy-2016-08',
certificateArn: packageInfo.primarySslCertArn,
}],
defaultSecurityGroup: {
args: {
ingress: [{
protocol: 'tcp',
fromPort: 443,
toPort: 443,
description: `SSL ingres for ALB`
}]
}
}
});
it isn't until I connect it to fargate service then it removes the ingress ruleNo 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