I got the following error when I ran python code on AWS lambda.
"errorMessage": "[Errno 17] File exists: '/tmp/testdir/'"
It occurs on the line os.makedirs('/tmp/testdir/').
Before I didn't have this kind of error. Does this mean Lambda function preserves tmp directory?
Should I clean tmp directory everytime?