Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to upgrade the node version of an aws lambda

In AWS I have a lambda function that is on node version 10, but I want to update its run time version - which command do I run to make this happen e.g. wanting to update runtime to version 12? I am aware there is already a post at AWS Lambda function upgrade from NodeJs version 6.10 to 8.10 version, but I would like to know how to do this via a command and not the console.

like image 467
Sabo Boz Avatar asked Sep 11 '25 22:09

Sabo Boz


1 Answers

In console:

  • Go to your function
  • Go to the "Code" tab
  • Scroll down to "Runtime settings"
  • Click "Edit"

Now you can select a later Node.js version

like image 89
mihaa123 Avatar answered Sep 14 '25 12:09

mihaa123