From b0ddd92346627c6b57262a1c5b5280d50fba9405 Mon Sep 17 00:00:00 2001 From: Valentin Berlier Date: Mon, 23 Oct 2023 23:10:15 +0200 Subject: [PATCH] chore: fix cidrBlock --- infra/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/index.ts b/infra/index.ts index 196fa78..9b90d67 100644 --- a/infra/index.ts +++ b/infra/index.ts @@ -30,10 +30,10 @@ const table = new aws.dynamodb.Table('beet-bot-table', { }) // Networking -const vpc = new aws.ec2.Vpc('beet-bot-vpc', { cidrBlock: '10.0.0.0/8' }) +const vpc = new aws.ec2.Vpc('beet-bot-vpc', { cidrBlock: '10.0.0.0/16' }) const subnet = new aws.ec2.Subnet('beet-bot-subnet', { vpcId: vpc.id, - cidrBlock: '10.0.0.0/8' + cidrBlock: '10.0.0.0/24' }) const igw = new aws.ec2.InternetGateway('beet-bot-igw', { vpcId: vpc.id })