Wednesday, 7 June 2017

How to trigger lambda-local command from .js file in a nodejs application

I am using a nodejs application and w.r.t this link :- http://blog.rowanudell.com/testing-serverless-functions-locally/ I was able to call the lambda functionlocally with the command : $ lambda-local -f index.js on CLI. Is there a way to trigger the same from inside a .js file of nodejs application?



via nodejs1

No comments:

Post a Comment