In one of my projects, we are trying to use Azure and MongoDB. Now I have managed to establish connectivity from Azure to Mongo over Endpoint.
But then what I realized was the access still not work. Then I white-listed the Public IP of the VM and found the code started working i.e. DB access worked. But this means I couldn’t leverage the Endpoint I created.
Seems I am missing something. Appriciate if you can help me.
Note:- I am using Terraform for all this activity. So any piece of code which does this would be helpful.
Please let me know if you need further information from my end.