tera
tera copied to clipboard
Whitespace control and indentation
resources:
- sa.yaml
{% for project in projects %}
- iam-bindings/{{project}}.yaml
{% endfor %}
gives
resources:
- sa.yaml
- iam-bindings/project-id-test.yaml
resources:
- sa.yaml
{% for project in projects -%}
- iam-bindings/{{project}}.yaml
{% endfor %}
gives
resources:
- sa.yaml
- iam-bindings/project-id-test.yaml
How can one achieve:
resources:
- sa.yaml
- iam-bindings/project-id-test.yaml
I tried with the indent function but same result.