We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba069f0 commit 673f615Copy full SHA for 673f615
.stacks/core/cloud/src/cloud/compute.ts
@@ -97,7 +97,7 @@ export class ComputeStack {
97
},
98
)
99
100
- containerDef.addPortMappings({ containerPort: 3000 })
+ containerDef.addPortMappings({ containerPort: 80 })
101
102
const serviceSecurityGroup = new ec2.SecurityGroup(scope, 'ServiceSecurityGroup', {
103
vpc,
@@ -131,7 +131,10 @@ export class ComputeStack {
131
const lb = new elbv2.ApplicationLoadBalancer(scope, 'ApplicationLoadBalancer', {
132
133
vpcSubnets: {
134
- subnetType: ec2.SubnetType.PUBLIC,
+ subnets: vpc.selectSubnets({
135
+ subnetType: ec2.SubnetType.PUBLIC,
136
+ onePerAz: true,
137
+ }).subnets,
138
139
internetFacing: true,
140
idleTimeout: Duration.seconds(30),
0 commit comments