I want to copy a set of files over from S3, and put them in the /tmp directory while my lambda function is running, to use and manipulate the contents. The following code excerp
You should save in /tmp, rather than tmp/.
/tmp
tmp/
eg:
local_file_name = '/tmp/' + KEY