Terraform templating

Improve IaC readability, maintainability.