From 687a77e9184cac7b0497cc9b61f1db439e6f0ea2 Mon Sep 17 00:00:00 2001 From: DiegoVictor Date: Thu, 18 Jul 2024 12:42:07 -0300 Subject: [PATCH] Restore VPC configuration --- template.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template.yml b/template.yml index 0ccbd88..b53fe47 100644 --- a/template.yml +++ b/template.yml @@ -63,6 +63,10 @@ Resources: CodeUri: Bucket: !ImportValue coderunner-BucketName Key: !Ref CodeUri + VpcConfig: + SecurityGroupIds: + - !ImportValue coderunner-LambdaSecurityGroupId + SubnetIds: !Split [ ',', !ImportValue coderunner-SubnetsId ] Policies: - Version: '2012-10-17' Statement: