Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/root-dependencies-04…
Browse files Browse the repository at this point in the history
…e7cc2c95
  • Loading branch information
fibble authored Dec 3, 2024
2 parents 77976b3 + b6f0894 commit 8df4433
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 8df4433

Please sign in to comment.