Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要通过 sftp 在我的 lambda 中读取一个文件并将其保存在本地进行处理。问题是当运行“sam local”时,我的 lambda 只能从本地文件系统读取,但不能写入。
Lambda 函数只能写入特定的本地区域:/tmp
如果您想写入文件,这就是您需要使用的位置。
看