Interview Prep/Real-World Interview/Terraform and Ansible

What is a Jinja2 filter? Give two examples.

IntermediateConceptTerraform and Ansible
Answer

A filter transforms a value inside a template. For example {{ name | upper }}, and {{ port | default(8080) }}, which supplies a fallback when the variable is undefined.

All Real-World Interview questions Roadmap: Interview readiness

More on Terraform and Ansible