I am trying to connect to Serverless Mongodb from a service in GCP cloud run. Right now connection is only successful if I allow all IP(0..0.0.0).
I followed Serverless VPC access + NAT creation @ https://cloud.google.com/run/docs/configuring/static-outbound-ip and few other online resources. The external IP in nat config is not allowed to connect by Mongodb even after whitelisting it.
Am I missing anything?
Thanks in advance.