diff --git a/infrastructure/batch/job_queue.tf b/infrastructure/batch/job_queue.tf index 1044cd0e..993b278e 100644 --- a/infrastructure/batch/job_queue.tf +++ b/infrastructure/batch/job_queue.tf @@ -3,9 +3,10 @@ resource "aws_batch_job_queue" "scpca_portal_project" { state = "ENABLED" priority = 1 - compute_environments = [ - aws_batch_compute_environment.scpca_portal_project.arn, - ] + compute_environment_order { + order = 1 + compute_environment = aws_batch_compute_environment.scpca_portal_project.arn + } tags = var.batch_tags }