ip range for Trusted sources at databases cluster

Hi, I have a cluster of Databases and a cloud function (gcp) that post rows inside of the database every n minutes, IN LOCAL I can do all well, but in google cloud my function dit not work, the reason is the trusted sources, but I don’t know to set a range of ip for my trusted sources on the database of digitalocean

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

Just to clarify, is your GCP function connecting to your DigitalOcean Managed database?

If this is the case, you could follow the steps here on how to configure your Egress settings for your GCP function:

That way you will have an IP rage that you would be able to add to your trusted sources list in your DigitalOcean account.

Hope that this helps!