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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically Set Node runtime version (nodejs, nodejs4.3 or nodejs6.10) ? #33

Closed
jruts opened this issue Apr 13, 2016 · 6 comments
Closed

Comments

@jruts
Copy link
Member

jruts commented Apr 13, 2016

Recently AWS launched nodejs 4.3.2 for lambdas. Since this is a public package we want the user to choose the runtime version they prefer, but default it to a specific version (preferably the latest one).

@nelsonic
Copy link
Member

@jruts I think we should just default to 4.3 and if anyone else using dpl wants to use v0.10.36 (i.e. "Legacy" node) they can ask us for it.

@nelsonic
Copy link
Member

@jruts any objections to me updating the runtime to nodejs4.3
as per: https://aws.amazon.com/blogs/compute/node-js-4-3-2-runtime-now-available-on-lambda/ ?

@jruts jruts closed this as completed in d9f6e8a Apr 18, 2016
@steveoh
Copy link
Contributor

steveoh commented Sep 28, 2017

What about being able to choose the different versions of node?

image

@nelsonic
Copy link
Member

@steveoh good question! we could easily configure this in the package.json "engines" field: https://docs.npmjs.com/files/package.json#engines
and then set it on the lambda accordingly.

@nelsonic nelsonic reopened this Sep 28, 2017
@nelsonic nelsonic changed the title Set node runtime version (nodejs or nodejs4.3) Dynamically Set Node runtime version (nodejs, nodejs4.3 or nodejs6.10) ? Sep 28, 2017
@nelsonic
Copy link
Member

Given that Node.js v12 (LTS) is now the default and should be supported until 2022,
I feel that dynamically setting the Node.js version is no longer needed.

Closing. (feel free to re-open if you feel the requirement is still valid) 👍

@nelsonic
Copy link
Member

nelsonic commented Feb 3, 2024

Updating to Node.js v20 which is LTS until 2025: #85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants