Skip to content

Commit

Permalink
fix: give up isolating ddb subnet, figure out later
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Aug 13, 2024
1 parent a144344 commit ad57ed8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/formsg-on-cdk-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ export class FormsgOnCdkStack extends cdk.Stack {
password: cdk.SecretValue.secretsManager(ddbPassSecret.secretArn),
},
vpc,
vpcSubnets: {
subnets: vpc.availabilityZones.map((availabilityZone, index) => {
return new ec2.PrivateSubnet(this, `ddb-subnet-${index}`, {
availabilityZone,
vpcId: vpc.vpcId,
cidrBlock: `10.0.${2 + index}.0/24`,
})
})
},
// vpcSubnets: {
// subnets: vpc.availabilityZones.map((availabilityZone, index) => {
// return new ec2.PrivateSubnet(this, `ddb-subnet-${index}`, {
// availabilityZone,
// vpcId: vpc.vpcId,
// cidrBlock: `10.0.${37 + index}.0/24`,
// })
// })
// },
// Use t3 medium instances to take advantage of the free tier,
// providing 750 machine hours free per month
// See https://aws.amazon.com/documentdb/free-trial/
Expand Down

0 comments on commit ad57ed8

Please sign in to comment.