Number

Number

Example

The Terraform Resource aws_ecs_service.

...
  load_balancer {
    target_group_arn = aws_lb_target_group.foo.arn
    container_name   = "mongo"
    container_port   = 8080
  }

Source Code

The corresponding source code.

      "container_port": {
           Type:         schema.TypeInt,
           Required:     true,
           ValidateFunc: validation.IntBetween(0, 65536),
      },

References