The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions

2.4k views Asked by At

In which version of monocdk changed the log retention node runtime version from 14 to 20

Getting following error-

The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions.

#aws-cdk , #monocdk

A working version of monocdk

1

There are 1 answers

0
therealdakotal On

If this is the package, it seems to be deprecated. I would try to migrate off of that package if possible. If not, it is either an issue internal to the package or a lambda you are building. Either way look through your codebase and the codebase of the package, find where it is using NODE_14.X and update it to NODE_20.X or newer.