From 08d9bd050b9363acabc5048134f5eb3f285a48aa Mon Sep 17 00:00:00 2001 From: marcusnogueira Date: Tue, 9 Apr 2024 14:54:49 +1000 Subject: [PATCH] Upgrading nodejs from 12 to 20 --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index b8f2a8c..bd5ba90 100644 --- a/main.tf +++ b/main.tf @@ -5,7 +5,7 @@ resource "aws_lambda_function" "lambda" { handler = "index.handler" timeout = var.lambda_timeout source_code_hash = filebase64sha256("${path.module}/lambda.zip") - runtime = "nodejs12.x" + runtime = "nodejs20.x" tags = var.tags tracing_config { mode = "Active"