From 30e958d14fafc05b1980ab3bf7b46c7ba64c9211 Mon Sep 17 00:00:00 2001 From: Nick Chadwick Date: Tue, 24 Sep 2024 18:30:45 -0500 Subject: [PATCH] tweak coastal pipeline AWS Batch parameters --- .../image_based/viz_schism_fim_processing/main.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/LAMBDA/viz_functions/image_based/viz_schism_fim_processing/main.tf b/Core/LAMBDA/viz_functions/image_based/viz_schism_fim_processing/main.tf index f5744817..6416149a 100644 --- a/Core/LAMBDA/viz_functions/image_based/viz_schism_fim_processing/main.tf +++ b/Core/LAMBDA/viz_functions/image_based/viz_schism_fim_processing/main.tf @@ -262,11 +262,11 @@ resource "aws_batch_compute_environment" "schism_fim_compute_env" { instance_role = aws_iam_instance_profile.schism_execution.arn instance_type = [ - "c7g", + "r7g.4xlarge", ] min_vcpus = 0 - max_vcpus = 108 + max_vcpus = 112 security_group_ids = var.security_groups @@ -300,11 +300,11 @@ resource "aws_batch_job_definition" "schism_fim_job_definition" { resourceRequirements = [ { type = "VCPU" - value = "4" + value = "1" }, { type = "MEMORY" - value = "8000" + value = "7000" } ]