AWS Lambda, saving S3 file to /tmp directory

前端 未结 1 787
终归单人心
终归单人心 2021-02-14 01:15

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:05

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

    eg:

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