Alexandre Feblot
03/13/2026, 4:11 PMatmos list staks but fails with a templating error for atmos tf plan some_component.
What works for me is this:
name_template: |-
{{ $ns := .vars.namespace -}}
{{- $tenant := .vars.tenant -}}
....
{{- $stack_name }}
Note the removed "-" at the beginning of the first line and at the end of the last line.Erik Osterman (Cloud Posse)
03/13/2026, 9:50 PMErik Osterman (Cloud Posse)
03/13/2026, 9:51 PMErik Osterman (Cloud Posse)
03/13/2026, 9:51 PMname_template: '{{ list .vars.namespace .vars.stage .vars.environment .vars.name | compact | join "-" }}'Erik Osterman (Cloud Posse)
03/13/2026, 9:52 PMAlexandre Feblot
03/16/2026, 3:16 PM