ECS scripts to deploy single port mode

This commit is contained in:
David Zhao
2021-04-12 22:46:29 -07:00
parent c2777cd556
commit 6c5bd4ce42
4 changed files with 25 additions and 9 deletions
+3 -2
View File
@@ -4,7 +4,8 @@ locals {
rtc = {
port_range_start = var.udp_port_start
port_range_end = var.udp_port_end
ice_tcp_port = var.ice_tcp_port
tcp_port = var.rtc_tcp_port
udp_port = var.rtc_udp_port
}
turn = {
enabled = var.turn_enabled
@@ -36,7 +37,7 @@ locals {
protocol = "udp"
},
{
containerPort = var.ice_tcp_port
containerPort = var.rtc_tcp_port
protocol = "tcp"
}
]