From 2456de0ae03973cef0f8001d914a367ab486cabf Mon Sep 17 00:00:00 2001 From: Bradley Lunsford Date: Fri, 11 Oct 2024 19:31:42 -0700 Subject: [PATCH] port defintions --- terraform-unity/ecs.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform-unity/ecs.tf b/terraform-unity/ecs.tf index 6b6e542..c102f28 100644 --- a/terraform-unity/ecs.tf +++ b/terraform-unity/ecs.tf @@ -192,8 +192,8 @@ resource "aws_vpc_security_group_ingress_rule" "alb_all_ingress_sg_rule" { # Add a new egress rule to the ECS's security group, allowing ECS to fetch the container images/proxy resource "aws_vpc_security_group_egress_rule" "ecs_egress_sg_rule" { security_group_id = aws_security_group.ecs_sg.id - to_port = 0 - from_port = 65535 + to_port = 65535 + from_port = 0 ip_protocol = "tcp" cidr_ipv4 = "0.0.0.0/0" } @@ -201,8 +201,8 @@ resource "aws_vpc_security_group_egress_rule" "ecs_egress_sg_rule" { # Add a new egress rule to the ECS's security group, allowing the ALB to respond to requests resource "aws_vpc_security_group_egress_rule" "ecs_alb_egress_sg_rule" { security_group_id = aws_security_group.ecs_alb_sg.id - to_port = 0 - from_port = 65535 + to_port = 65535 + from_port = 0 ip_protocol = "tcp" cidr_ipv4 = "0.0.0.0/0" } \ No newline at end of file