AWS Lambda, saving S3 file to /tmp directory

前端 未结 1 1924
太阳男子
太阳男子 2021-02-14 01:31

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

相关标签:
1条回答
  • 2021-02-14 02:00

    You should save in /tmp, rather than tmp/.

    eg:

    local_file_name = '/tmp/' + KEY
    
    0 讨论(0)
提交回复
热议问题