blueprints: add Env tag

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-12-24 20:41:51 +01:00
parent fe1e2aa8af
commit 94b9ebb0bb
5 changed files with 52 additions and 1 deletions

View File

@ -8,6 +8,12 @@ Resolves to the primary key of the model instance defined by id _my-policy-id_.
If no matching entry can be found, an error is raised and the blueprint is invalid.
#### `!Env`
Example: `password: !Env my_env_var`
Returns the value of the given environment variable. Can be used as a scalar with `!Env my_env_var, default` to return a default value.
#### `!Find`
Examples: