-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Description
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
Labels
No labels