I have an existing S3 bucket and a lambda function.
The trigger event for the lambda is as follows:
events:
- s3:
bucket: ${self:custom.originalImagesBucketName} ← this bucket exists since before
event: s3:ObjectCreated:*
rules:
- prefix: originals/
existing: true ← this will trigger the lambda creation
This will according to this documentation: Serverless Framework - AWS Lambda Events - S3,
generate an extra lambda, that is no problem. The problem is that this lambda is created with Node.js version 16 and AWS are ending their support for Node.js 16 in Lambda on June 12, 2024.
Anyone knows how to set Node.js version for this auto-generated lambda in some way? if no, is there any way to notify the Serverless team that this needs to be updated?
Thanks