aws-lambdawkhtmltopdf

Can I use wkhtmltopdf on AWS Lambda


I'm using a AWS Lambda function to merge PDF files stored on S3. In addition to that, I need now to create a PDF file (from HTML and CSS). I was trying to use wkhtmltopdf, but it seems that I would have to install it using apt-get install (which I don`t think I have access on AWS Lambda).

Any ideas on how can I do it?

Any suggestions for wkhtmltopdf replacements?

Thanks!


Solution

  • There are multiple projects on GitHub claiming to run wkhtmltopdf on Lambda. Here are a few.