'Why I can not reach csv file after 10 min AWS Lambda [closed]

I have a scheduled job and run it periodically in AWS Lambda. I can read file until schedule job running execution after 10 minute. However, I can not reach to file after 10 min.

Error log is:

with open('/tmp/out.csv', "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/out.csv'

In addition: I can not show this file on editor.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source