Elon
03/15/2026, 4:13 PMAndriy Knysh (Cloud Posse)
03/15/2026, 5:03 PMstacks.name_template in atmos.yaml, don't use templates with vars, use templates with, for example, settings (use settings to define your stack names). See https://atmos.tools/cli/configuration/stacks/#stack-naming-with-name_template-recommended
name_template: "{{ .settings.context.environment }}-{{ .settings.context.stage }}"
This way, you don't use the global context variables in your stacks, and they are not snet to Terraform by AtmosErik Osterman (Cloud Posse)
03/15/2026, 7:26 PMErik Osterman (Cloud Posse)
03/15/2026, 7:26 PMErik Osterman (Cloud Posse)
03/15/2026, 7:27 PMYota
03/17/2026, 10:46 AMvars field (explicit > implicit). This would eliminate the need for all these workarounds (to me this seems more like a "Cloud Posse setting" that’s enabled by default).
To give an example, when I started to use Atmos I configured stack naming to include the cloud variable (e.g., aws-core-identity-euw3), a variable I don’t need anywhere in the components, it’s only useful for the stack name. But I have to add it everywhere just because it’s inherited. As a beginner, it's a bit disturbing and goes against a great Atmos feature: its versatility.
Personally, having an option to enable or disable this automatic inheritance is, I think, the feature I’d like to see most.
That reminds me I have not posted any feedback on Atmos but here's at least a little bit.
Hope this helps.Erik Osterman (Cloud Posse)
03/17/2026, 11:31 AMErik Osterman (Cloud Posse)
03/17/2026, 11:31 AMErik Osterman (Cloud Posse)
03/17/2026, 11:33 AMErik Osterman (Cloud Posse)
03/17/2026, 11:33 AMname_templateErik Osterman (Cloud Posse)
03/17/2026, 11:34 AMErik Osterman (Cloud Posse)
03/17/2026, 11:34 AMErik Osterman (Cloud Posse)
03/17/2026, 11:36 AMErik Osterman (Cloud Posse)
03/17/2026, 11:37 AMErik Osterman (Cloud Posse)
03/17/2026, 11:38 AMYota
03/17/2026, 1:47 PMThe origin of this is an early opinionated decision that predates atmos: Programmatically enforced naming conventionI know. circa 2016 I used Cloud Posse Terraform components and context was already there 🙂.
Would this have been easier for you?I saw that but not sure to understand your point. Is it to use explicit name from stack manifest? 'Cause
name_template or name_pattern have the same behavior: context is passed.
you would like to be able to disable inheritance?Disable name pattern variables? I think yes. I find it clunky to systematically add a context file to every component. I think I’d rather add three lines to the vars (e.g. region, tenant, stage). Since, in many cases, tenant and stage are only needed for tags and will therefore be placed directly in the tags variable. I think it's the explicit nature of it that I like. But perhaps a more elegant or useful solution is possible? Maybe the explicit name is the solution. I admit that this was my first thought, but I haven’t had time to revisit it since (I'm still a newbie. Atmos is powerful and offers a lot of possibilities).
Does that also mean disabling imports?For now, I use only import for mixins variables, so to me no.
Erik Osterman (Cloud Posse)
03/17/2026, 2:02 PMname: exactly-what-i-want-it-to-beErik Osterman (Cloud Posse)
03/17/2026, 2:03 PMname_template. So it's explicitly enabled.Erik Osterman (Cloud Posse)
03/17/2026, 2:04 PMname_template and no name, atmos will use the stack filename as the name.Elon
03/18/2026, 1:44 PM