Closed jfix closed 6 years ago
Hey @jfix
Here is an approximate serverless.yml
, I didn't deploy it, but it's fairly simple and should suffice.
service: pdf
provider:
name: aws
runtime: nodejs8.10
iamRoleStatements:
- Effect: "Allow"
Action:
- xray:PutTraceSegments
- xray:PutTelemetryRecords
Resource:
- "*"
- Effect: Allow
Action:
- s3:PutObject
- s3:PutObjectAcl
Resource:
- arn:aws:s3:::serverless-libreoffice-demo/*
functions:
hello:
handler: src/handler.hello
memorySize: 3008
timeout: 60
Thanks @vladgolubev I'll try that.
Check out a new step-by-step guide - https://github.com/vladgolubev/serverless-libreoffice/blob/master/STEP_BY_STEP.md
Hello, I'd like to port your lambda configuration from terraform to serverless, but I don't know terraform. Is there a chance that you could provide some details of what the different terraform files are meant for? Thanks for this cool project! 👍