full-stack-serverless-code icon indicating copy to clipboard operation
full-stack-serverless-code copied to clipboard

Update Node.js 8.10 to Node.js 10.x

Open GanizaniSitara opened this issue 4 years ago • 0 comments

https://docs.amplify.aws/cli/migration/lambda-node-version-update#nodejs-810-to-nodejs-10x

CREATE_FAILED amplify-basic-authentication-dev-160337-authbasicauthentication5fbc10de-C529UP524TFZ AWS::CloudFormation::Stack Thu Jan 07 2021 21:14:32 GMT+0000 (Greenwich Mean Time) The following resource(s) failed to create: [UserPoolClientLambda]. CREATE_FAILED UserPoolClientLambda AWS::Lambda::Function Thu Jan 07 2021 21:14:31 GMT+0000 (Greenwich Mean Time) The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 2f84795c-1223-4487-9864-7ee40b191c93; Proxy: null)

https://docs.amplify.aws/cli/migration/lambda-node-version-update#nodejs-810-to-nodejs-10x

Line 228 in basicauthentication5fbc10de-cloudformation-template.yml Line 250 runtime version to nodejs10.x

GanizaniSitara avatar Jan 08 '21 00:01 GanizaniSitara