AWS lambda add PATH variable?

假如想象 提交于 2019-12-23 10:08:00

问题


I need to append the root path of the ZIP file for Amazon Lambda function because I have placed an executable file there.

I have tried: PATH = "$PATH:$LAMBDA_TASK_ROOT:/"

It did not work.


回答1:


You can set it in the lambda console itself by modifying the environment variables.



来源:https://stackoverflow.com/questions/47136472/aws-lambda-add-path-variable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!