Skip to content

Commit

Permalink
port defintions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpl-btlunsfo committed Oct 12, 2024
1 parent efe67a7 commit 2456de0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform-unity/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,17 @@ 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"
}

# 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"
}

0 comments on commit 2456de0

Please sign in to comment.