You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Porter has the concept of a parameter source that is populated from dependency output. For example:
The wordpress bundle has a dependencies custom section that requires the mysql bundle. The mysql bundle generates a connstr output representing the connection string to the database. The parameter source dependencies.output allows the wordpress bundle to inject the connstr output from mysql to one of its parameters so that it can use the connection string created by the mysql bundle.
This seems useful to have in the CNAB spec for parameter sources. So that if a bundle has a dependency defined, the author can choose to default a parameter using a dependency output and have it supported across tools.
The text was updated successfully, but these errors were encountered:
carolynvs
changed the title
Defined a parameter source from a dependency output
Define a parameter source from a dependency output
Jan 6, 2021
Porter has the concept of a parameter source that is populated from dependency output. For example:
The wordpress bundle has a dependencies custom section that requires the mysql bundle. The mysql bundle generates a connstr output representing the connection string to the database. The parameter source
dependencies.output
allows the wordpress bundle to inject the connstr output from mysql to one of its parameters so that it can use the connection string created by the mysql bundle.This seems useful to have in the CNAB spec for parameter sources. So that if a bundle has a dependency defined, the author can choose to default a parameter using a dependency output and have it supported across tools.
The text was updated successfully, but these errors were encountered: