HathorNetwork / hathor-wallet-service-old

MIT License
4 stars 4 forks source link

Upgrade serverless-warmup-plugin #438

Open luislhl opened 1 year ago

luislhl commented 1 year ago

We should upgrade serverless-warmup-plugin version to one that used Node.js 16 for the Lambdas. Apparently their first version to do so was this https://github.com/juanjoDiaz/serverless-plugin-warmup/releases/tag/7.2.0

The reason for this is that AWS Lambda will be deprecating Node.js 14 as a runtime:

We are ending support for Node.js 14 in AWS Lambda. This follows Node.js 14 End-Of-Life (EOL) reached on April 30, 2023 [1].

As described in the Lambda runtime support policy [2], end of support for language runtimes in Lambda happens in two stages. Starting November 27, 2023, Lambda will no longer apply security patches and other updates to the Node.js 14 runtime used by Lambda functions, and functions using Node.js 14 will no longer be eligible for technical support. In addition, you will no longer be able to create new Lambda functions using the Node.js 14 runtime. Starting January 25, 2024, you will no longer be able to update existing functions using the Node.js 14 runtime.