From d6a9baba50b1658a7ce94dad5f6e32822ff4e970 Mon Sep 17 00:00:00 2001 From: Shawn Crawley Date: Fri, 15 Nov 2024 17:04:53 -0700 Subject: [PATCH] Increases max mem for ti-fim-data-prep Lambda Refs #938 --- Core/LAMBDA/viz_functions/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/LAMBDA/viz_functions/main.tf b/Core/LAMBDA/viz_functions/main.tf index 4d5259b7..3f4e6ef9 100644 --- a/Core/LAMBDA/viz_functions/main.tf +++ b/Core/LAMBDA/viz_functions/main.tf @@ -655,7 +655,7 @@ resource "aws_s3_object" "fim_data_prep_zip_upload" { resource "aws_lambda_function" "viz_fim_data_prep" { function_name = "hv-vpp-${var.environment}-viz-fim-data-prep" description = "Lambda function to setup a fim run by retriving max flows from the database, prepare an ingest database table, and creating a dictionary for huc-based worker lambdas to use." - memory_size = 2048 + memory_size = var.environment == "ti" ? 4096 : 2048 # Larger for apocalyptic testing timeout = 900 vpc_config { security_group_ids = var.db_lambda_security_groups