Closed vivekvj01 closed 1 year ago
you can connect to a private space DB using this feature https://devcenter.heroku.com/articles/private-spaces#trusted-ip-ranges-for-data-services of allowlisting your function space stable outbound IP. If could you raise a case our support team should be able to provide you your stable outboundips for your space. We are working to make the ips more easily accessible aswell. Once you have completed the step of allowlisting the ip's. You can find sample code on connecting to the database can be found here sample code can be found here under Section No 6 Heroku Data Heroku Data PostgreSQL (Node.js) PostgreSQL (Java) Redis (Node.js) Redis (Java)
How does this differ from #59 ?
I think we have this documented now, closing: https://help.salesforce.com/s/articleView?id=000394313&type=1
Would like to connect securely to private data stores from functions. Currently we can use a Beta feature however we would like it be to be simpler.