toka
11/26/2025, 7:52 PMtoka
11/26/2025, 8:01 PMErik Osterman (Cloud Posse)
11/26/2025, 9:00 PMErik Osterman (Cloud Posse)
11/26/2025, 9:00 PMtoka
11/26/2025, 11:11 PMvars.tf / tfvars
into components inputs and I deploy them into my lab environment/account to validate.
After that I'm looking which part of the configuration I can extract as defaults that I put into catalog/. Most of the time I'm looking to introduce at least name template(pattern) for the provisioned resources within the defaults.yaml file by creating an abstract component with sensible defaults, so things are named consistently.
Cloud resource names are computed within the stacks using top level vars.
This step is still fluid as I'm still figuring out in between what goes into defaults, and how to transform those components later and pack them into fully reusable blueprints.
The catch is that the templated name values need to match the names of resources deployed currently within the cloud account to avoid change/create/destory cycle.
The most common input vars get replaced by importing mixins like regions/location, project_id etc.
In the next step I'm adding `import {}`block into TF modules within Atmos components.
Then I switch project/cloud accounts from lab to dev/sandbox/whatever. and run Atmos plan locally to see if resources are being imported or changed/destroyed - in case of any changes I update components input values.
After finishing with that I run Atmos apply to validate the import into TF state files stored in temporary bucket.
When I'm ready I push my PR, review TF Plans once again in the PR comments and those get imported after merging.
In case I need to execute components in a specific order I have a filter inside GH workflow that extracts from Atmos settings whether GH actions are enabled or disabled for a component - I control that by importing enabled/disabled mixin.
I would like to see Atmos pro in action though one day.Erik Osterman (Cloud Posse)
12/03/2025, 8:34 PMErik Osterman (Cloud Posse)
12/03/2025, 8:35 PMtoka
12/03/2025, 8:35 PMErik Osterman (Cloud Posse)
12/03/2025, 8:35 PMtoka
12/03/2025, 8:38 PM