Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

nodejs8.10 deprecated for AWS Lambda #25

@janerikcarlsen

Description

@janerikcarlsen

Since Feb 3, nodejs8.10 has been deprecated for AWS Lambda.

On the initial Staging deployment, deploying to AWS failed for me:
CREATE_FAILED AWS::Lambda::Function MainFunction 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: InvalidPar ameterValueException;

I changed the node version to nodejs12.x and staging workflow passed. However for the production flow nodejs12.x failed with:

Run docker://admiralawkbar/aws-nodejs:latest
...
...
Building resource 'MainFunction'
Error: 'nodejs12.x' runtime is not supported
ERROR! Failed to build SAM application!

Fix suggestion: Update node version to either nodejs10.x OR update both node version to nodejs12.x and deployment mechanism for production workflow to using github/deploy-nodejs@master

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions