I have set up the local Lambda function (in Python) on my machine with the help of the SAM app and I also have installed the local MongoDB. I want to make a connection between the locally created Lambda function and MongoDB local.
My first question is "Is that possible to connect local MongoDB with local Lambda function?" If yes, then please elaborate on how to do it? Any guide or tutorial will be appreciated.