Netlify Functions and Google Cloud SQL?

I am trying to query a Google Cloud SQL database from within Netlify functions. Google Cloud SQL requires you to whitelist specific IP addresses though, but I’m not sure what CIDR block to whitelist.

The queries work when I run them locally because I can whitelist my home IP address. I have found the root IP address for each of the name servers attached to my domain since I’m using Netlify DNS and then whitelisted each of them.

dig +short

Still doesn’t connect though.

hi there, this seems relevant: