We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c5e09d commit f49da2cCopy full SHA for f49da2c
operations/deployment/terraform/modules/aws/ecs/aws_ecs.tf
@@ -52,8 +52,8 @@ resource "aws_ecs_task_definition" "ecs_task" {
52
"portMappings": length(local.aws_ecs_container_port) > 0 ? [
53
{
54
"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],
+ "containerPort": tonumber(local.aws_ecs_container_port[count.index]),
+ "hostPort": tonumber(local.aws_ecs_container_port[count.index]),
57
"protocol": "tcp",
58
"appProtocol": "http"
59
}
0 commit comments