Skip to content

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

@GanizaniSitara

Description

@GanizaniSitara

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions