Skip to content

Commit

Permalink
Allow overriding per service deployment settings (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawliet89 authored Jan 19, 2023
1 parent e7adc22 commit 2386e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module "service" {
subnets = var.service_subnets
security_groups = var.service_security_groups

deployment_maximum_percent = var.service_deployment_maximum_percent
deployment_minimum_healthy_percent = var.service_deployment_minimum_healthy_percent
deployment_maximum_percent = lookup(each.value, "deployment_maximum_percent", var.service_deployment_maximum_percent)
deployment_minimum_healthy_percent = lookup(each.value, "deployment_minimum_healthy_percent", var.service_deployment_minimum_healthy_percent)

ecs_load_balancers = lookup(each.value, "ecs_load_balancers", [])

Expand Down

0 comments on commit 2386e00

Please sign in to comment.