Difference between revisions of "Load balancer (argument)"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  load_balancer {
 
  load_balancer {
 
   target_group_arn = aws_lb_target_group.foo.arn
 
   target_group_arn = aws_lb_target_group.foo.arn
   container_name  = "mongo"
+
   [[container_name]]   = "mongo"
 
   container_port  = 8080
 
   container_port  = 8080
 
  }
 
  }

Revision as of 10:33, 16 February 2023

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


Terraform ECS: module, resources: aws_ecs_cluster, aws_ecs_service: task definition, aws_ecs_task_definition: container_definitions

Advertising: