Support variables in env.yaml
See original GitHub issueCompare:
data_out_dir = "../output/data"
models_out_dir = "../output/models"
alerts_out_dir = "../output/alerts"
vs.
out_dir = "../output"
data_out_dir = "{{out_dir}}/data"
models_out_dir = "{{out_dir}}/models"
alerts_out_dir = "{{out_dir}}/alerts"
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to use a YAML file or environment variables to populate ...
In most cases, we suggest using a config variables YAML file. YAML files make variables more visible, easily editable, and allow for modularization...
Read more >Use environment variables in the configuration - Elastic
Use environment variables in the configurationedit ... Where VAR is the name of the environment variable. Each variable reference is replaced at startup...
Read more >Document how to use environment variables in `.yml` config file
Be able to pass headers in via the CLI, or support variables in YAML. Describe alternatives you've considered. Checking in codegen.yml with ...
Read more >How to replace environment variable value in yaml file to be ...
You can do it through yaml.add_implicit_resolver and yaml.add_constructor . In the code below, you are defining a resolver that will match on ${ ......
Read more >Environment variables in Compose | Docker Documentation
If you have multiple environment variables, you can substitute them by adding them to a default environment variable file named .env or by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh, and to your suggested error message – sure, that would be great. Something I really appreciate about ploomber is that you do a good job of trying to figure out what the user was trying to do and offer hints. I see your idea in that light.
https://codegolf.stackexchange.com/questions/87614/turtles-all-the-way-down