Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Aws lambda function to convert s3 files to base64 pdf

Notifications You must be signed in to change notification settings

d-barletta/lambda-doc-to-pdf

Repository files navigation


Setup

Install

  • npm install

Deploy

  • npm run build-lambda
  • Upload created .zip file to Amazon Lambda Function
  • Please allocate at least 1536 MB of RAM for your Lambda function
  • Set at least 30 sec execution time for your Lambda function
  • Check lambda layer should be something like: arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice-brotli:1
  • Upload new lambda layer to fix some strange bug - reported solution here shelfio/libreoffice-lambda-layer#33 (comment)
  • Created layer in folder lambda-layer
  • It works only in Amazon Linux 2, so it won't work locally on Linux or macOS. However, you could run it in Docker using lambci/lambda:nodejs12.x image
  • If some file fails to be converted to PDF, try converting it to PDF on your computer first. This might be an issue with LibreOffice itself

Info

About

Aws lambda function to convert s3 files to base64 pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /