Skip to content

Commit 673f615

Browse files
committed
chore: wip
1 parent ba069f0 commit 673f615

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.stacks/core/cloud/src/cloud/compute.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class ComputeStack {
9797
},
9898
)
9999

100-
containerDef.addPortMappings({ containerPort: 3000 })
100+
containerDef.addPortMappings({ containerPort: 80 })
101101

102102
const serviceSecurityGroup = new ec2.SecurityGroup(scope, 'ServiceSecurityGroup', {
103103
vpc,
@@ -131,7 +131,10 @@ export class ComputeStack {
131131
const lb = new elbv2.ApplicationLoadBalancer(scope, 'ApplicationLoadBalancer', {
132132
vpc,
133133
vpcSubnets: {
134-
subnetType: ec2.SubnetType.PUBLIC,
134+
subnets: vpc.selectSubnets({
135+
subnetType: ec2.SubnetType.PUBLIC,
136+
onePerAz: true,
137+
}).subnets,
135138
},
136139
internetFacing: true,
137140
idleTimeout: Duration.seconds(30),

0 commit comments

Comments
 (0)