[英]AWS Lambda Node runtime update from Node.js v4.3 to Node.js v8.10
We created a function in AWS Lambda using Node v4.3 . 我们使用Node v4.3在AWS Lambda中创建了一个函数。 Later we upgraded the function to Node v8.10 . 后来我们将功能升级到Node v8.10 。 When I just update the runtime of the function, it updates the runtime fine and I can execute the code just fine without errors. 当我只更新函数的运行时时,它会更新运行时,并且我可以执行代码而不会出错。
It that all needed to upgrade from Node.js v4.3 to Node.js v8.10 ? 从Node.js v4.3升级到Node.js v8.10所需的全部吗?
I used the following command: 我使用以下命令:
aws lambda update-function-configuration --function-name functionname --runtime nodejs8.10
Is this a clean way to perform an upgrade of the runtime version of Node.js in Lambda or am I missing something? 这是在Lambda中执行Node.js运行时版本升级的一种干净方法,还是我缺少什么?
Yes, normally that is all that is needed. 是的,通常只需要这些。 The key is testing to ensure nothing breaks. 关键是进行测试以确保没有任何损坏。 You can also verify via the GUI that the function is using the new runtime. 您也可以通过GUI验证该功能正在使用新的运行时。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.