Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs10.x is no longer supported #837

Open
4 tasks done
kaihendry opened this issue Feb 12, 2022 · 3 comments
Open
4 tasks done

nodejs10.x is no longer supported #837

kaihendry opened this issue Feb 12, 2022 · 3 comments

Comments

@kaihendry
Copy link

hey TJ, hope you can advise. Else do I need to migrate to AWS SAM ? 馃槗

Prerequisites

  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • 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
@chrismalek
Copy link

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
Copy link

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

@michaelcuneo
Copy link

Add

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

to up.json in the root of the project.

kaihendry added a commit to kaihendry/goserverless.sg that referenced this issue Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants