I need to read a file in my lambda via sftp and save it locally for processing. The issue is that when running 'sam local' my lambda can only read from the local file system but not write to it.
Asked
Active
Viewed 616 times
1 Answers
1
Lambda functions can only write to a specific local area: /tmp
So that is the location you need to use if you want to write to a file.
See
Shawn
- 7,449
- 3
- 29
- 55