Skip to content

Commit

Permalink
update compute environment to 32 vcpus and job definition to 1 vcpu p…
Browse files Browse the repository at this point in the history
…er job for c-test
  • Loading branch information
avrohomgottlieb committed Dec 9, 2024
1 parent 2000710 commit dd8c087
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/batch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion infrastructure/batch/compute_environment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/batch/job_definition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "aws_batch_job_definition" "scpca_portal_project" {
resourceRequirements = [
{
type = "VCPU"
value = "0.5"
value = "1.0"
},
{
type = "MEMORY"
Expand Down

0 comments on commit dd8c087

Please sign in to comment.