File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -110,16 +110,6 @@ resource "aws_vpc_security_group_ingress_rule" "ecs_alb_ingress_sg_rule" {
110
110
referenced_security_group_id = aws_security_group. ecs_alb_sg . id
111
111
}
112
112
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
-
123
113
# Add a new egress rule to the ECS's security group, allowing ECS to fetch the container images/proxy
124
114
resource "aws_vpc_security_group_egress_rule" "ecs_egress_sg_rule" {
125
115
security_group_id = aws_security_group. ecs_sg . id
@@ -159,5 +149,4 @@ resource "aws_vpc_security_group_egress_rule" "ecs_sg_egress_rule" {
159
149
to_port = 65535
160
150
ip_protocol = " tcp"
161
151
referenced_security_group_id = data. aws_security_group . mc_alb_sg . id
162
- # cidr_ipv4 = "0.0.0.0/0"
163
152
}
You can’t perform that action at this time.
0 commit comments