From 90327cdff35f3cf8193e21a97d31dffc92ec3258 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Thu, 11 Jul 2024 13:14:22 -0400 Subject: [PATCH] Remove ignored From/ToPort with -1 protocol --- cg-app/templates/services/ec2/asg.yaml | 2 -- cg-app/templates/services/fargate/backend.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/cg-app/templates/services/ec2/asg.yaml b/cg-app/templates/services/ec2/asg.yaml index 1b71320..61bafb2 100644 --- a/cg-app/templates/services/ec2/asg.yaml +++ b/cg-app/templates/services/ec2/asg.yaml @@ -88,8 +88,6 @@ Resources: SecurityGroupEgress: - CidrIp: 0.0.0.0/0 IpProtocol: "-1" - FromPort: -1 - ToPort: -1 LogGroup: Type: AWS::Logs::LogGroup diff --git a/cg-app/templates/services/fargate/backend.yaml b/cg-app/templates/services/fargate/backend.yaml index 5c3fd5a..00aaf2c 100644 --- a/cg-app/templates/services/fargate/backend.yaml +++ b/cg-app/templates/services/fargate/backend.yaml @@ -68,8 +68,6 @@ Resources: CidrIp: 0.0.0.0/0 GroupId: !GetAtt SecurityGroup.GroupId IpProtocol: "-1" - FromPort: -1 - ToPort: -1 Service: Condition: HasService