Skip to content

Commit

Permalink
fix: use the correct cidr block prefix, 10.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Aug 13, 2024
1 parent 45d1e01 commit 91e292c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formsg-on-cdk-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class FormsgOnCdkStack extends cdk.Stack {
return new ec2.PrivateSubnet(this, `ddb-subnet-${index}`, {
availabilityZone,
vpcId: vpc.vpcId,
cidrBlock: `10.1.${(index + 1) * 64}.0/18`,
cidrBlock: `10.0.${64 + index}.0/18`,
})
})
},
Expand Down

0 comments on commit 91e292c

Please sign in to comment.