Skip to content

Lambda preset compatibility with Node.js 24 handler requirements #3988

@justcloudnative

Description

@justcloudnative

Describe the feature

Problem

While currently running the project on AWS Lambda with Node.js 22 (which still supports callback-based handlers), I see the following log warning:

AWS Lambda has removed support for callback-based function handlers starting with Node.js 24. You will need to modify this function to use a supported handler signature when upgrading to Node.js 24 or later. To disable this warning, set the AWS_LAMBDA_NODEJS_DISABLE_CALLBACK_WARNING environment variable. For more information see https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html.

Question / Request

Is there a plan to update the AWS Lambda preset for future compatibility with Node.js 24+, where callback-based handlers will no longer be supported? If there are migration steps or timelines already planned, please provide details. Otherwise, it would be helpful to clarify if such a migration will occur before Node.js 24 becomes the default on AWS Lambda.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions