diff --git a/infrastructure/batch.tf b/infrastructure/batch.tf index 756bcf0b..a748ab67 100644 --- a/infrastructure/batch.tf +++ b/infrastructure/batch.tf @@ -22,6 +22,6 @@ stage = var.stage batch_tags = { module = "batch", - revision = "second - 16 vCPU compute environment with 0.5 vCPUs per job" + revision = "third - 32 vCPU compute environment with 1 vCPU per job" } } diff --git a/infrastructure/batch/compute_environment.tf b/infrastructure/batch/compute_environment.tf index ba7667ae..ac017a80 100644 --- a/infrastructure/batch/compute_environment.tf +++ b/infrastructure/batch/compute_environment.tf @@ -2,7 +2,7 @@ resource "aws_batch_compute_environment" "scpca_portal_project" { compute_environment_name = "scpca-portal-project-compute-${var.user}-${var.stage}" compute_resources { - max_vcpus = 16 + max_vcpus = 32 security_group_ids = [ aws_security_group.scpca_portal_batch.id ] diff --git a/infrastructure/batch/job_definition.tf b/infrastructure/batch/job_definition.tf index d97c4ab3..746ac265 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 = "0.5" + value = "1.0" }, { type = "MEMORY"