Question. I'm trying out using `name_template: "{{...
# atmos
c
Question. I'm trying out using
name_template: "{{ .vars.stage }}-{{ .vars.region }}"
and it's working everywhere. Stacks validate fine. I can plan all components and stacks as expected but when I use
atmos describe affected
it returns the error:
Copy code
Error: template: describe-stacks-name-template:1:26: executing "describe-stacks-name-template" at <.vars.region>: map has no entry for key "region"
Am I missing something or is this a bug with
atmos describe affected
? I have even done
atmos describe stacks
and I can see the
region
var in all component instances in all stacks
e
@Andriy Knysh (Cloud Posse) I think the problem is that the base commit didn't have the name template configured maybe? Do you know what is up?
c
Ohhh that could be. I could try validating that.
Thanks @Erik Osterman (Cloud Posse). Confirmed once the name template was also in place on the base commit then
atmos describe affected
works as expected.
e
Ok, we should handle this more elegantly
I will look into it
🙌 1