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"