Common DB Configuration in AWS Lambda functions
I have 50 lambda functions which calls a Mongo DB setup in AWS EC2. Currently the ip address, port number and db name are written inside all 50 lambda functions. I need to put this configuration in a single place and all Lambda functions should be able to call it.
Please guide me what's the best way to achieve it.
Thanks.