Skip to content

Using it in AWS Lambda #2

Description

@czhao-nsrecom

Hi. I am trying to use the module to fill pdf from template in a Lambda function on AWS.

my template is located in /tmp as /tmp/template.pdf. and I verified with fs the file is there. But When I run pdffiller-stream.fillForm( tmpFile, filldata); I am getting an error

pdftk exec error: Error: Unable to find file.

Is this something you can help?

pdftk is loaded as part of my lambda as per this blog

https://lob.com/blog/aws-lambda-pdftk

Thanks.

Colin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions