0

I have not found too much documentation on this. Is this possible?

I tried setting up a local lambda function, inside the function I tried to initialize velocity engine.

When I run the lambda function I get an error saying resource not found for

Template t = velocityEngine.getTemplate("src/testTemplate.vm");

How can I reference a template here from another package or resource? Would I need to use s3? I would prefer to store the templates in a local code package Lambda has access to. If I do this how do I reference a .vm template from another package in the velocityEngine.getTemplate function?

Thanks

Naman
  • 27,789
  • 26
  • 218
  • 353
motime545
  • 11
  • 4

0 Answers0