Skip to content

Commit

Permalink
fix(terraform): remove CPU/Memory division for containers (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored and matbeales committed Aug 6, 2024
1 parent 6698433 commit 1ac0df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/terraform/modules/service/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ module "ecs_service" {

container_definitions = {
(each.key) = {
cpu = try(var.services[each.key].task_cpu_limit, var.services[each.key].cpu / 2)
memory = try(var.services[each.key].task_memory_limit, var.services[each.key].memory / 4)
cpu = try(var.services[each.key].task_cpu_limit, var.services[each.key].cpu)
memory = try(var.services[each.key].task_memory_limit, var.services[each.key].memory)
essential = true
image = "${var.services[each.key].repository}:${var.services[each.key].version}"
port_mappings = [
Expand Down

0 comments on commit 1ac0df7

Please sign in to comment.