Skip to content

Commit f49da2c

Browse files
committed
small fix
1 parent 1c5e09d commit f49da2c

File tree

1 file changed

+2
-2
lines changed
  • operations/deployment/terraform/modules/aws/ecs

1 file changed

+2
-2
lines changed

operations/deployment/terraform/modules/aws/ecs/aws_ecs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ resource "aws_ecs_task_definition" "ecs_task" {
5252
"portMappings": length(local.aws_ecs_container_port) > 0 ? [
5353
{
5454
"name": "port-${local.aws_ecs_container_port[count.index]}",
55-
"containerPort": local.aws_ecs_container_port[count.index],
56-
"hostPort": local.aws_ecs_container_port[count.index],
55+
"containerPort": tonumber(local.aws_ecs_container_port[count.index]),
56+
"hostPort": tonumber(local.aws_ecs_container_port[count.index]),
5757
"protocol": "tcp",
5858
"appProtocol": "http"
5959
}

0 commit comments

Comments
 (0)