Tag Archives: jinja

Jinja Hydration in Python

Jinja is an excellent tool and it’s incredibly great at allowing you to make rich and featureful configuration files. Essentially, you can make your configs dynamic. For example if you had an yaml file that looks like this : {% if plat == "aws" %} metadata_endpoint: http://169.254.169.254/latest/meta-data/ {% endif plat == "digitalocean" %} metadata_endpoint: http://169.254.169.254/metadata/v1/… Read More »