danstanhope / aws-lambda-puppeteer

AWS Lambda function that creates a .pdf using puppeteer and common layers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate .PDF and upload to S3 using AWS Lambda & Puppeteer

Link to blog post here

Sample project to generate a PDF using AWS Lambda, Common Layers, Puppeteer & S3 for storage.

Make sure you have SAM CLI installed and configured. To run, use:

sam local invoke PuppeteerFunction --no-event

Also, make sure to run yarn inside /layers/shared/nodejs

About

AWS Lambda function that creates a .pdf using puppeteer and common layers


Languages

Language:HTML 57.2%Language:JavaScript 42.8%