Skip to content

Commit 7ea7e05

Browse files
committed
Explicitly allow udp too
1 parent 3df09e7 commit 7ea7e05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/nat-gateway/main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ resource "aws_security_group" "instance" {
138138
protocol = "tcp"
139139
cidr_blocks = ["0.0.0.0/0"]
140140
}
141+
142+
egress {
143+
from_port = 0
144+
to_port = 65535
145+
protocol = "udp"
146+
cidr_blocks = ["0.0.0.0/0"]
147+
}
141148
}
142149

143150
resource "aws_security_group" "instance_connect" {

0 commit comments

Comments
 (0)