From d07517fa6aa300feb2d4141a881f119c794e5764 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Wed, 8 May 2024 10:04:31 -0300 Subject: [PATCH] increase pdf lambda timeout, add original input to send unknown email action --- lambdas/rich_pdf_ingestion/lambda.tf | 2 +- state_machines/rfp_email_form_fill/state_machine.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lambdas/rich_pdf_ingestion/lambda.tf b/lambdas/rich_pdf_ingestion/lambda.tf index a2cf4c6..06b8d83 100644 --- a/lambdas/rich_pdf_ingestion/lambda.tf +++ b/lambdas/rich_pdf_ingestion/lambda.tf @@ -1,7 +1,7 @@ locals { lambda_function_name = "rich_pdf_ingestion" ses_arn = "arn:aws:ses:${var.aws_region}:${data.aws_caller_identity.current.account_id}" - timeout = 600 + timeout = 1200 } data "aws_caller_identity" "current" {} diff --git a/state_machines/rfp_email_form_fill/state_machine.json b/state_machines/rfp_email_form_fill/state_machine.json index f12c358..b1f23cd 100644 --- a/state_machines/rfp_email_form_fill/state_machine.json +++ b/state_machines/rfp_email_form_fill/state_machine.json @@ -482,7 +482,8 @@ } }, "Resource": "arn:aws:states:::aws-sdk:sesv2:sendEmail", - "Next": "Delete raw email (1)" + "Next": "Delete raw email (1)", + "ResultPath": "$.send_unknown_email_output" }, "Delete raw email (1)": { "Type": "Task",