up icon indicating copy to clipboard operation
up copied to clipboard

nodejs10.x is no longer supported

Open kaihendry opened this issue 3 years ago • 3 comments

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

  1. https://github.com/kaihendry/goserverless.sg
  2. up

kaihendry avatar Feb 12 '22 09:02 kaihendry

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.

chrismalek avatar Feb 15 '22 16:02 chrismalek

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"
}

chrismalek avatar Feb 19 '22 17:02 chrismalek

Add

"lambda": {
  "runtime": "nodejs14.x"
},

to up.json in the root of the project.

michaelcuneo avatar Mar 03 '22 02:03 michaelcuneo