#The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda funct

4 messages · Page 1 of 1 (latest)

stuck birch
#

Hello, I have a problem when I do 'amplify push' even though I set Node to version 18 can i get help please CREATE_FAILED UpdateRolesWithIDPFunction AWS::Lambda::FunctionMon Jun 26 2023 11:47:10 GMT+0200 (heure d’été d’Europe centrale) 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: 1d712e60-9f64-499b-bf05-d62a5d66ba35)" (RequestToken: 248243a5-2ac1-0b60-8322-afaaafd52c31, HandlerErrorCode: InvalidRequest)

CREATE_FAILED apifront AWS::CloudFormation::Stack Mon Jun 26 2023 11:47:11 GMT+0200 (heure d’été d’Europe centrale) Resource creation cancelled

stuck birch
#

Is it for a function you created yourself in Amplify, or for a function that Amplify adds to your configuration (such as API Gateway for integration with Cognito user pool for instance)?

stuck birch
#

Thank you for your answer. It is a function generated by Amplify itself, I also find it in my lambda functions in Amplify lambda function. However, it is not generated in my local environment. I am sharing with you two screenshots

#

i work in nustaging enivrement