I have deployed via terraform a setup with lambdas, mongodb cluster, aws vpc and a privatelink endpoint and my connection string isn't working. i am getting a timeout error from mongo.
My connection string is: "mongodb+srv://:@XXXXXXXXXXXX-pl-0.XXXXX.mongodb.net/?retryWrites=true&w=majority"
I was wondering if it could be to do with security, maybe the ports i'm allowing are wrong, can someone advise what they should be?
Any ideas on why this isn't the connecting?