Skip to content

Commit 294a27e

Browse files
committed
removing commented unused code
1 parent 96a97de commit 294a27e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

terraform-unity/networking.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,6 @@ resource "aws_vpc_security_group_ingress_rule" "ecs_alb_ingress_sg_rule" {
110110
referenced_security_group_id = aws_security_group.ecs_alb_sg.id
111111
}
112112

113-
# # Add a new ingress rule to the ECS ALB's security group, opening it up to other connections
114-
# #tfsec:ignore:AVD-AWS-0107
115-
# resource "aws_vpc_security_group_ingress_rule" "alb_all_ingress_sg_rule" {
116-
# security_group_id = aws_security_group.ecs_alb_sg.id
117-
# to_port = 8080
118-
# from_port = 8080
119-
# ip_protocol = "tcp"
120-
# cidr_ipv4 = "0.0.0.0/0"
121-
# }
122-
123113
# Add a new egress rule to the ECS's security group, allowing ECS to fetch the container images/proxy
124114
resource "aws_vpc_security_group_egress_rule" "ecs_egress_sg_rule" {
125115
security_group_id = aws_security_group.ecs_sg.id
@@ -159,5 +149,4 @@ resource "aws_vpc_security_group_egress_rule" "ecs_sg_egress_rule" {
159149
to_port = 65535
160150
ip_protocol = "tcp"
161151
referenced_security_group_id = data.aws_security_group.mc_alb_sg.id
162-
#cidr_ipv4 = "0.0.0.0/0"
163152
}

0 commit comments

Comments
 (0)