Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/github-action-depe…
Browse files Browse the repository at this point in the history
…ndencies-179cc87e7a
  • Loading branch information
fibble authored Dec 3, 2024
2 parents bdf9e01 + b6f0894 commit 8895b5f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions infra/terraform/modules/service/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,13 @@ module "ecs_service" {
memory_reservation = 100
}
}

load_balancer = {
load_balancer = var.services[each.key].listener_rule_enable ? {
service = {
target_group_arn = aws_lb_target_group.this[each.key].arn
container_name = each.key
container_port = 8080
}
}
} : {}

create_security_group = false
security_group_ids = var.services[each.key].security_group_ids
Expand Down

0 comments on commit 8895b5f

Please sign in to comment.