Open kmai opened 3 years ago
Thanks for reporting @kmai . Can you please share some details about your LocalStack configuration? Please note that Lambda code mounting requires the LAMBDA_REMOTE_DOCKER
and HOST_TMP_FOLDER
environment variables to be configured properly - see here: https://github.com/localstack/localstack#using-local-code-with-lambda Please keep us posted how it goes, thanks!
Could this be related to https://github.com/localstack/localstack/issues/6181, where the mount overrides files within the container?
I'm trying to invoke a function locally using localstack and a Golang binary as a handler.
If I mount the directory (
mountCode: True
), I get the following message when doing the invoke:If I set
mountCode: False
, the function works without issues.