Skip to content

Commit c754f72

Browse files
chore: [SVLS-5989] add Node22 support (#23)
1 parent 55a2909 commit c754f72

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 = {

examples/node/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 = {

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)