Hi Jan.
I'm happy to report that this is working as expected now. Lambda can access templates on s3 and renders pdf without problems.
Thank you!
Hi Jan.
I'm happy to report that this is working as expected now. Lambda can access templates on s3 and renders pdf without problems.
Thank you!
That seems to do the trick. I've managed to upload layer and add it to the function. I've tested it in AWS console with hello world example and it works, just need to test it with my templates on s3. Thanks
Thank you for looking into that. I will give it a go later Today and report back.
Unfortunately the multiple layers option didn't work:
I was looking into building the docker image for lambda, but I didn't find any info. Is it possible?
I've actually started exploring that option with multiple layers.
As for the use case - I'm storing my templates on s3 and I'm running jsreport with studio locally to manage my templates. I want lambda function to point at the same location on s3.
Hi there.
I'm trying to set up the jsreport on lambda. I'm using the tutorial from https://jsreport.net/learn/aws-lambda-serverless, and the only change is an extra package for the s3 storage:
@jsreport/jsreport-fs-store-aws-s3-persistence.
The problem is that the whole layer package exceeds the AWS limit:
I would appreciate any suggestion on how I can fix that.
Thank you