From 2ad750e3b84e3c196f98e26975e9ffd8b299b444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Rold=C3=A1n?= Date: Fri, 23 Feb 2024 10:19:09 +0100 Subject: [PATCH] NodeJS version to be upgraded within Lambda functions --- terraform/4-upsert-lambda-function.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/4-upsert-lambda-function.tf b/terraform/4-upsert-lambda-function.tf index 06fbf4a..e0934fd 100644 --- a/terraform/4-upsert-lambda-function.tf +++ b/terraform/4-upsert-lambda-function.tf @@ -86,6 +86,8 @@ resource "aws_lambda_function" "upsert_lambda_function" { s3_bucket = aws_s3_bucket.lambda_bucket.id s3_key = aws_s3_object.upsert_lambda_function.key + # TODO: adjust to NodeJS 18.x to import ONLY the modules from AWS SDK needed for the Lambda Function + # https://github.com/aws/aws-sdk-js/issues/4401 runtime = "nodejs16.x" handler = "function.handler"