AWS Lambda是否添加PATH变量? [英] AWS lambda add PATH variable?

查看:67
本文介绍了AWS Lambda是否添加PATH变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为Amazon Lambda函数附加ZIP文件的根路径,因为我在其中放置了一个可执行文件.

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

我尝试过:PATH = "$PATH:$LAMBDA_TASK_ROOT:/"

它没有用.

推荐答案

您可以通过修改环境变量在lambda控制台本身中对其进行设置.

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

这篇关于AWS Lambda是否添加PATH变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆