diff --git a/.tool-versions b/.tool-versions index 940bb92..94d8532 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,7 +1,7 @@ # This file is for you! Please, updated to the versions agreed by your team. gitleaks 8.18.4 -nodejs 18.18.2 +nodejs 22.15.1 pre-commit 3.6.0 terraform 1.9.2 terraform-docs 0.19.0 diff --git a/infrastructure/modules/eventpub/lambda_function.tf b/infrastructure/modules/eventpub/lambda_function.tf index 2abbecb..1cadfc4 100644 --- a/infrastructure/modules/eventpub/lambda_function.tf +++ b/infrastructure/modules/eventpub/lambda_function.tf @@ -4,7 +4,7 @@ resource "aws_lambda_function" "main" { role = aws_iam_role.lambda.arn handler = "index.handler" - runtime = "nodejs20.x" + runtime = "nodejs22.x" publish = true memory_size = 128 timeout = 20