Skip to content

Commit f154d75

Browse files
authored
Merge pull request #4 from hazelops/dog-stats-d
8125:8125/udp Port added for DogStatsD
2 parents 6962ee6 + 7b49315 commit f154d75

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

main.tf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,19 @@ locals {
7171
)
7272

7373

74-
portMappings = var.ecs_launch_type == "FARGATE" ? [] : [
74+
portMappings = var.ecs_launch_type == "FARGATE" ? [
75+
{
76+
protocol = "udp",
77+
containerPort = 8125
78+
}
79+
] : [
7580
{
7681
protocol = "tcp",
7782
containerPort = 8126
83+
},
84+
{
85+
protocol = "udp",
86+
containerPort = 8125
7887
}
7988
]
8089

0 commit comments

Comments
 (0)