Skip to content

NodeJS 12 is no longer supported #15

@lgvo

Description

@lgvo

Following the tutorial I get the following error:

│ Error: creating Lambda Function (HelloWorld): operation error Lambda: CreateFunction, https response error StatusCode: 400, RequestID: ed29b9a6-a01c-412c-a1e8-0cfde427101a, InvalidParameterValueException: 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.

Fix: To fix the issue I updated both the provider (~> 5.37.0) and the runtime (nodejs20.x). Maybe just changing the runtime on the docs to (nodejs18.x) would be enough, I just think it may worth update both anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions