We recently organised our services by project and environment in Render, when the new UI became available. I know, stupid, I should never have used the UI, and stuck to infrastructure-as-code. Now our infrastructure as code has broken and we effectively can’t control our services properly any more.
When trying to synchronise my blueprint with I get an error:
There was a problem syncing with your render.yaml:
services[10].envVars[0].fromGroup
new service cannot link to env group “staging-gateway” which is in environment “staging”
This is the first time I’ve added a new service to the infrastructure file. It seems the YAML specification is missing definitions for project and environment, that MUST be present since the changes in Render related to projects and environments.
EDIT:
It seems this is a duplicate of another thread named “Frustrations using Blueprint + Environments + Environment Groups” which I can’t link here for some reason.
I’d like to ask the Render team to really prioritise this, as it’s very nasty when seemingly innocuous, UI actions turn out to:
- Break IaC
- Are irreversible