From 6644c025a48afc4bdbeaf69b31a348fe9f407e7e Mon Sep 17 00:00:00 2001 From: Eamonn Faherty <273558+eamonnfaherty@users.noreply.github.com> Date: Wed, 11 Dec 2019 14:12:55 +0000 Subject: [PATCH] fixing incorrect port settings for security group --- templates/git2s3.template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/git2s3.template b/templates/git2s3.template index a6d376a..7d970dd 100644 --- a/templates/git2s3.template +++ b/templates/git2s3.template @@ -1025,15 +1025,15 @@ "GroupName": "ZipDlLambdaSecurityGroup", "SecurityGroupEgress": [ { "CidrIp": {"Ref": "VPCCidrRange"}, - "FromPort": -1, + "FromPort": 0, "IpProtocol": 'tcp', - "ToPort": -1 + "ToPort": 65535 } ], "SecurityGroupIngress": [ { "CidrIp": {"Ref": "VPCCidrRange"}, - "FromPort": -1, + "FromPort": 0, "IpProtocol": 'tcp', - "ToPort": -1 + "ToPort": 65535 } ], "VpcId": {"Ref": "VPCId"} }