Skip to content

aws-ts-apigateway-lambda-serverless: Update runtime to NodeJS22dX#2197

Open
kakakakakku wants to merge 1 commit intopulumi:masterfrom
kakakakakku:aws-ts-apigateway-lambda-serverless
Open

aws-ts-apigateway-lambda-serverless: Update runtime to NodeJS22dX#2197
kakakakakku wants to merge 1 commit intopulumi:masterfrom
kakakakakku:aws-ts-apigateway-lambda-serverless

Conversation

@kakakakakku
Copy link
Copy Markdown

Hi😀 Thanks for the useful examples!

To prevent future deployment issues, I updated the deprecated Lambda Node.js runtime NodeJS18dX to NodeJS22dX.
See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

Check

pulumi up completed successfully and works good.

image
$ curl -s -X GET https://hkwa1f27vb.execute-api.us-east-2.amazonaws.com/stage/example | jq .
{
  "route": "example",
  "affirmation": "Nice job, you've done it! :D",
  "requestBodyEcho": null
}

$ curl -s -X POST https://hkwa1f27vb.execute-api.us-east-2.amazonaws.com/stage/example | jq .
{
  "message": "POST successful"
}

curl -s -X DELETE https://hkwa1f27vb.execute-api.us-east-2.amazonaws.com/stage/example | jq .
{
  "message": "DELETE successful"
}

Thank you😀

@github-actions
Copy link
Copy Markdown

PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-example-tests on the PR

@dirien
Copy link
Copy Markdown
Contributor

dirien commented Mar 21, 2026

/run-example-tests

Copy link
Copy Markdown
Contributor

@dirien dirien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single file change, runtime update from deprecated NodeJS18 to NodeJS22. Contributor tested locally.

@dirien dirien enabled auto-merge (squash) March 21, 2026 16:26
@kakakakakku
Copy link
Copy Markdown
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants