update ECS deploy to turn on ICE TCP

This commit is contained in:
David Zhao
2021-04-11 00:01:06 -07:00
parent 46f98896a1
commit 9a5188d620
3 changed files with 20 additions and 2 deletions
+8
View File
@@ -15,6 +15,14 @@ resource "aws_security_group" "main" {
cidr_blocks = ["0.0.0.0/0"]
}
ingress {
description = "TCP port for ICE"
from_port = var.ice_tcp_port
to_port = var.ice_tcp_port
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}
ingress {
description = "UDP port for TURN"
from_port = var.turn_port_start