From 3112e5c203aa556b823cfed6bc1f65a2f0b6c594 Mon Sep 17 00:00:00 2001 From: Avrohom Gottlieb Date: Mon, 9 Dec 2024 13:21:52 -0500 Subject: [PATCH] reduce job definition to 0.5 vcpus per job for d-test --- infrastructure/batch.tf | 2 +- infrastructure/batch/job_definition.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/batch.tf b/infrastructure/batch.tf index a748ab67..cd17cf26 100644 --- a/infrastructure/batch.tf +++ b/infrastructure/batch.tf @@ -22,6 +22,6 @@ stage = var.stage batch_tags = { module = "batch", - revision = "third - 32 vCPU compute environment with 1 vCPU per job" + revision = "fourth - 32 vCPU compute environment with 0.5 vCPUs per job" } } diff --git a/infrastructure/batch/job_definition.tf b/infrastructure/batch/job_definition.tf index 746ac265..d97c4ab3 100644 --- a/infrastructure/batch/job_definition.tf +++ b/infrastructure/batch/job_definition.tf @@ -71,7 +71,7 @@ resource "aws_batch_job_definition" "scpca_portal_project" { resourceRequirements = [ { type = "VCPU" - value = "1.0" + value = "0.5" }, { type = "MEMORY"