From 4eca682c8c6a48a98c7dd54a4309c4df23fe502e Mon Sep 17 00:00:00 2001 From: Valentin Berlier Date: Mon, 23 Oct 2023 23:14:50 +0200 Subject: [PATCH] chore: fix security group --- infra/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/index.ts b/infra/index.ts index 9b90d67..48ffe7f 100644 --- a/infra/index.ts +++ b/infra/index.ts @@ -54,6 +54,7 @@ const rta = new aws.ec2.RouteTableAssociation('beet-bot-rta', { // Allow SSH and HTTP const group = new aws.ec2.SecurityGroup('beet-bot-security', { + vpcId: vpc.id, ingress: [ { protocol: 'tcp', fromPort: 22, toPort: 22, cidrBlocks: ['0.0.0.0/0'] } ],