Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/aws/services/lambda.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Enter the following command to create a new Lambda function:
zip function.zip index.js
awslocal lambda create-function \
--function-name localstack-lambda-url-example \
--runtime nodejs18.x \
--runtime nodejs22.x \
--zip-file fileb://function.zip \
--handler index.handler \
--role arn:aws:iam::000000000000:role/lambda-role
Expand All @@ -59,7 +59,7 @@ To create a predictable URL for the function, you can assign a custom ID by spec
```bash
awslocal lambda create-function \
--function-name localstack-lambda-url-example \
--runtime nodejs18.x \
--runtime nodejs22.x \
--zip-file fileb://function.zip \
--handler index.handler \
--role arn:aws:iam::000000000000:role/lambda-role \
Expand Down