File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module "lambda-datadog" {
4848 function_name = "example-function"
4949 role = aws_iam_role.lambda_role.arn
5050 handler = "index.lambda_handler"
51- runtime = "nodejs20 .x"
51+ runtime = "nodejs22 .x"
5252 memory_size = 256
5353
5454 environment_variables = {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ module "lambda-datadog" {
5555 function_name = " terraform-example-node-${ var . datadog_service_name } -function"
5656 role = aws_iam_role. lambda_role . arn
5757 handler = " index.lambda_handler"
58- runtime = " nodejs20 .x"
58+ runtime = " nodejs22 .x"
5959 memory_size = 256
6060
6161 environment_variables = {
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ locals {
4444 " nodejs16.x" = " Datadog-Node16-x"
4545 " nodejs18.x" = " Datadog-Node18-x"
4646 " nodejs20.x" = " Datadog-Node20-x"
47+ " nodejs22.x" = " Datadog-Node22-x"
4748 " python3.8" = " Datadog-Python38"
4849 " python3.9" = " Datadog-Python39"
4950 " python3.10" = " Datadog-Python310"
@@ -104,6 +105,7 @@ check "runtime_support" {
104105 " nodejs16.x" ,
105106 " nodejs18.x" ,
106107 " nodejs20.x" ,
108+ " nodejs22.x" ,
107109 " python3.8" ,
108110 " python3.9" ,
109111 " python3.10" ,
You can’t perform that action at this time.
0 commit comments