diff --git a/modules/autoscale_gwlb/main.tf b/modules/autoscale_gwlb/main.tf index 97ebdd2..c488af1 100755 --- a/modules/autoscale_gwlb/main.tf +++ b/modules/autoscale_gwlb/main.tf @@ -18,35 +18,35 @@ resource "aws_security_group" "permissive_sg" { resource "aws_vpc_security_group_ingress_rule" "ingress_rule_ipv4" { security_group_id = aws_security_group.permissive_sg.id cidr_ipv4 = "0.0.0.0/0" - from_port = 0 + #from_port = 0 ip_protocol = "-1" - to_port = 0 + #to_port = 0 } resource "aws_vpc_security_group_egress_rule" "egress_rule_ipv4" { security_group_id = aws_security_group.permissive_sg.id cidr_ipv4 = "0.0.0.0/0" - from_port = 0 + #from_port = 0 ip_protocol = "-1" - to_port = 0 + #to_port = 0 } resource "aws_vpc_security_group_ingress_rule" "ingress_rule_ipv6" { count = var.enable_ipv6 ? 1 : 0 security_group_id = aws_security_group.permissive_sg.id cidr_ipv6 = "::/0" - from_port = 0 + #from_port = 0 ip_protocol = "-1" - to_port = 0 + #to_port = 0 } resource "aws_vpc_security_group_egress_rule" "egress_rule_ipv6" { count = var.enable_ipv6 ? 1 : 0 security_group_id = aws_security_group.permissive_sg.id cidr_ipv6 = "::/0" - from_port = 0 + #from_port = 0 ip_protocol = "-1" - to_port = 0 + #to_port = 0 } resource "aws_launch_template" "asg_launch_template" {