You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurred: CustomDashresourceDashexistingDashs3LambdaFunction "Runtime parameter of nodejs12.x is no longer supported" while building and deploying to AWS Lambda
#8354
Error: An error occurred: CustomDashresourceDashexistingDashs3LambdaFunction - Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: ****)" (RequestToken: ****, HandlerErrorCode: InvalidRequest).
AWS doesn't support Node.JS version 12 (from June 2023)
Hey @Zak-Roz, thanks for reaching out. Does this error still happen if you're on the latest version of the SDK? You're on 6.19.7, and the latest is 7.55.2.
The SDK should not be affecting the runtime - we don't set anything related to that.
I updated to the latest version of @sentry/serverless to 7.55.2 and framework serverless to 3.32.2.
This "CustomDashresourceDashexistingDashs3LambdaFunction" lambda is built on node version 16.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi! I use event s3 in function. While I am building functions, additional lambda function is being created "CustomDashresourceDashexistingDashs3LambdaFunction"
Error:
An error occurred: CustomDashresourceDashexistingDashs3LambdaFunction - Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: ****)" (RequestToken: ****, HandlerErrorCode: InvalidRequest).AWS doesn't support Node.JS version 12 (from June 2023)
Environment Information:
package.json
serverless.yml
All reactions