arithmetric / aws-lambda-ses-forwarder

Serverless email forwarding using AWS Lambda and SES
MIT License
1.7k stars 450 forks source link

AWS Lambda Node 20.x Support #147

Open mylesboone opened 10 months ago

mylesboone commented 10 months ago

Lambda Node 18.x and 20.x runtimes come with AWS SDK v3. This upgrades the use to AWS SDK v3. @arithmetric Not sure how you manage versions of this gem, but this is incompatible with Lambda Node 16.x runtime.

mylesboone commented 10 months ago

@arithmetric do you need anything further on this?

lucky81 commented 8 months ago

This update introduced an error for me as my S3 bucket is in a different region to my Lambda. The following fixed it: overrides.s3 : new S3Client({region: "eu-west-2", signatureVersion: 'v4'})

mylesboone commented 7 months ago

This now uses SES v2, which supports emails up to 40mb.

nastevens commented 6 months ago

Just updated with this version alongside an update to Node 20. Seems to be working great!

mylesboone commented 4 months ago

Hey @arithmetric, it seems a lot of folks are getting hung up because the master branch will no longer work out of the box with AWS Lambda. Would you be able to take a look at this and merge if able? Also if you need more eyes/help on this repo let me know. I would be willing to help maintain.

anandcdas commented 4 months ago

Hi @arithmetric, we will have to update this repo as AWS Lambda will stop its support for Node.js 16 by June 12, 2024.

@mylesboone Thanks for your help. Much appreciated.

GatienBoquet commented 1 month ago

@arithmetric Hello can you accept this PR :)