up
up copied to clipboard
nodejs10.x is no longer supported
hey TJ, hope you can advise. Else do I need to migrate to AWS SAM ? :sweat:
Prerequisites
- [X] I am running the latest version. (
up upgrade
) - [X] I searched to see if the issue already exists.
- [X] I inspected the verbose debug output with the
-v, --verbose
flag. - [X] Are you an Up Pro subscriber?
Description
The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions.
https://s.natalian.org/2022-02-12/up.log
Steps to Reproduce
- https://github.com/kaihendry/goserverless.sg
- up
I am getting this same this morning. Apex pro user
Error: deploying: us-west-1: updating function config: InvalidParameterValueException: The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions.
Long term pro user
Up is completely broken. Deploys do not work.
I am trying to deploy some updates to several projects I have running on UP and nothing can be updated. In one simple one, I completely destroyed the app then tried to redeploy and I am getting this.
Error: deploying: us-west-1: creating function: InvalidParameterValueException: The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions.
{
RespMetadata: {
StatusCode: 400,
RequestID: "c35adcec-d8a9-4000-91dc-d1642ac5788b"
},
Message_: "The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions.",
Type: "User"
}
Add
"lambda": {
"runtime": "nodejs14.x"
},
to up.json in the root of the project.