Skip to content

Commit 328d847

Browse files
authored
fix: map both 8125 and 8126 ports
With Fargate monitoring we want to send traces as well, we can't if the port is not mapped.
1 parent eb93eba commit 328d847

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

main.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,7 @@ locals {
7979
)
8080

8181

82-
portMappings = var.ecs_launch_type == "FARGATE" ? [
83-
{
84-
protocol = "udp",
85-
containerPort = 8125
86-
}
87-
] : [
82+
portMappings = [
8883
{
8984
protocol = "tcp",
9085
containerPort = 8126

0 commit comments

Comments
 (0)