juanjoDiaz / serverless-plugin-warmup

Keep your lambdas warm during winter. ♨
MIT License
1.11k stars 115 forks source link

migrate to AWS SDK v3 #331

Closed cjnoname closed 1 year ago

cjnoname commented 1 year ago

Hi @juanjoDiaz,

My previous PR for upgrading to NodeJS 18 actually broke this library, because there's a major change on NodeJS 18 which is to update AWS SDK from v2 to v3, so I created this PR for upgrading AWS SDK to v3.

Please review and release my code or build your own version if you don't like my code :)

https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/

Thanks, CJ

cjnoname commented 1 year ago

Damn!

I'll try to get this in asap.

Have you actually tested this in a full deployment?

Hi mate,

I have tested it in a full deployment and it seems working fine. Please test it if you want :)

Thanks