0

I have a sails.js backend application and a serverless lambda function. Both are running in the local machine for development purposes, I want to invoke the local running lambda function from the sails.js application, I can use aws-sdk in the sails application, but could it work? Is there any way that I can invoke the local lambda from another locally running application?

gokublack
  • 1,260
  • 2
  • 15
  • 36

1 Answers1

1

You can do that with serverless-offline plugin. It's pretty well described here https://www.npmjs.com/package/serverless-offline#usage-with-invoke

karjan
  • 936
  • 1
  • 7
  • 17