I'm pretty sure that the only writeable file system on Lambda in under
/tmp. You're not checking the error return from os.MkdirAll, but that call
is probably failing before you get to os.Create. Also keep in mind that
each Lambda instance is limited to 512 MB of /tmp space:
https://docs.aws.amazon.
Hello,
I am trying to make function which will down file fro aws s3 and do some
image resizing. I am having issue with os.Create, when I run locally on ec2
machine it works fine but when I run on lambda directly I get error file
not found
package main
import (
"github.com/aws/aws-sdk-go