Invalid database property: databaseName

Hi
I’m getting this error message:

services[0].envVars[2].fromDatabase.property
invalid database property: databaseName

when parsing the blueprint:

I don’t understand, already used this property in another render.yaml file, and this property is available in the Blueprint Specification | Render.

Thanks

Thomas,
I’m not sure that databaseName is a valid property in a fromDatabase key, I think you should be using database here - see https://render.com/docs/blueprint-spec#properties-available-to-environment-variables

Regards,

John B

Hi,
Thanks, I already changed this.
But I think this is still a bug because in the documentation

there is an example with this property.
Also " You can also set the PostgreSQL databaseName , user , plan , and postgresMajorVersion"

ah right, in the element then databaseName is valid - but I understand the confusion, we probably should be consistent. Thanks for pointing this out!

John B

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.