Blueprints: fromService not supported in envVarGroups

Am I correct to assume that the following blueprint is not valid:

databases:
  - name: prod
    databaseName: mydb
    user: myuser

envVarGroups:
- key: DB_URL
  fromDatabase:
    name: prod
    property: connectionString

During sync the following error message is thrown concerning the entry in envVarGroups:

envVarGroups[0][0]: must have a key and value

Moving the environment variable to the service definition works fine.

Hi there,

Thanks for reaching out.

envVarGroups variables cannot depend on other resources, unlike the environment variables in a service. source

Hope that helps

Alan

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