FerryDocs

References in a blueprint

In a blueprint, Ferry changes each fromDatabase and fromService entry into a reference.

Edit on GitHub
ferry.yaml
envVars:
  - key: DATABASE_URL
    fromDatabase: { name: app-db, property: connectionString }   # ${{datastore.app-db.connectionString}}
  - key: API_HOST
    fromService: { type: pserv, name: api, property: hostport }  # ${{service.api.hostport}}

In a , you do not write ${{…}}. You write fromDatabase or fromService. Ferry makes the from it. The comment on each line shows the result.

Where to read more

On this page