I am working on a project using AWS SAM local. I am invoking a function with
sam local invoke
which successfully executes the function. The lambda function writes an image file into /tmp/image.png
when the function is invoked. This writing operation happens in the environment of SAM local, the /tmp
folder belongs to its docker environment.
Is there a way for me to access the files written into the /tmp
folder while developing locally?