I have a blueprint with services that depends on each other, the problem is that if one of them fails to be created, the blueprint sync has an error and I have to manually sync it using Render dashboard, is there a way to trigger the sync to create the other resources without manually login to the Render dashboard?
In these cases, when there are services that depend on each other - ideally you want the services that are being depended on to be created first and the dependent service created last - in this way, you then don’t experience sync failures.
If for example you had a DB and a webservice, if the webservice blueprint used an env var from the DB, eg via fromService
directive etc then that would push the creation of the webservice AFTER the creation of the DB so that the DB gets created first and then the webservice.
You can use this behaviour to achieve the same result, for example, if serviceA sets an envar then serviceB using fromService
to access the env var on ServiceA, then service B would be created after serviceA.
Thanks for the reply! In my case, the serviceB depends on the URL from the serviceA, that’s the only reason why we have this dependency. The serviceB is kind of a extension of serviceA, so we need it to test it properly, but the changes are 99% based on serviceA. But sometimes when serviceA fails to be created for any reason (build issues, migration failures, etc.), we need to sync the blueprint manually, it would be nice to have an option to sync the blueprint without having to interact with the dashboard.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.