Exposing Pandoc to Create PDFs using AWS Lambda

I needed an endpoint to convert markdown to a standard PDF for reasons. This is how I made a simple low traffic markdown to pdf converter using AWS Lambda and pandoc . When evaluating solutions I discovered that everything either required webkit or a native LaTeX installation. All options that are painful to maintain from a user perspective for a script I was building. This solution ensures that…