Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ resource "aws_security_group" "mtc_sg_pub" {
resource "aws_security_group_rule" "ingress_all" {
type = "ingress" #
from_port = 0 # starting port for port access
to_port = 65535 # Ending port for port access
to_port = 0 # Ending port for port access
protocol = "-1" # Specifies any protocol.Includes UDP/TCP/ICMP
cidr_blocks = [var.access_ip]
security_group_id = aws_security_group.mtc_sg_pub.id
Expand All @@ -122,7 +122,7 @@ resource "aws_security_group_rule" "ingress_all" {
resource "aws_security_group_rule" "egress_all" {
type = "egress" #
from_port = 0 # starting port for port access
to_port = 65535 # Ending port for port access
to_port = 0 # Ending port for port access
protocol = "-1" # Specifies any protocol.Includes UDP/TCP/ICMP
cidr_blocks = ["0.0.0.0/0"]
security_group_id = aws_security_group.mtc_sg_pub.id
Expand Down