2

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.

marting
  • 127
  • 1
  • 4

1 Answers1

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