Skip to content

Commit d9eaa27

Browse files
authored
Docs: update Lambda Node Runtime to use Node 20, 22 or 24. (#433)
1 parent d658bb3 commit d9eaa27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/aws/services/lambda.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Enter the following command to create a new Lambda function:
4848
zip function.zip index.js
4949
awslocal lambda create-function \
5050
--function-name localstack-lambda-url-example \
51-
--runtime nodejs18.x \
51+
--runtime nodejs22.x \
5252
--zip-file fileb://function.zip \
5353
--handler index.handler \
5454
--role arn:aws:iam::000000000000:role/lambda-role
@@ -59,7 +59,7 @@ To create a predictable URL for the function, you can assign a custom ID by spec
5959
```bash
6060
awslocal lambda create-function \
6161
--function-name localstack-lambda-url-example \
62-
--runtime nodejs18.x \
62+
--runtime nodejs22.x \
6363
--zip-file fileb://function.zip \
6464
--handler index.handler \
6565
--role arn:aws:iam::000000000000:role/lambda-role \

0 commit comments

Comments
 (0)