Customize List Command Output to Explore Your Cloud Architecture
Atmos lets you model your cloud architecture, so why shouldn't you be able to easily explore that? This is especially a pain point for people new to a team who just want to see what exists without having to understand your complete cloud architecture. Atmos List makes that possible.
We've enhanced all column-supporting list commands (instances, components, stacks, workflows, vendor) to support customizable output columns via atmos.yaml configuration.
The Problem
When exploring a new infrastructure codebase, you're often overwhelmed with questions:
- What components are deployed in production?
- Which stacks use a specific component?
- What's the region and environment for each deployment?
Running atmos list instances gives you raw data, but not the specific view you need to answer these questions quickly.
The Solution
Configure custom columns in atmos.yaml to show exactly what your team needs:
# atmos.yaml
components:
list:
columns:
- name: Stack
value: "{{ .stack }}"
- name: Component
value: "{{ .component }}"
- name: Region
value: "{{ .vars.region }}"
- name: Environment
value: "{{ .vars.environment }}"
- name: Stage
value: "{{ .vars.stage }}"
- name: Description
value: "{{ .metadata.description }}"
Now atmos list instances shows a clean, team-specific view:
atmos list instances
┌─────────────────────┬───────────┬───────────┬─────────────┬──────┬────────────────────────┐
│ Stack │ Component │ Region │ Environment │ Stage│ Description │
├─────────────────────┼───────────┼───────────┼─────────────┼──────┼────────────────────────┤
│ plat-ue2-prod │ vpc │ us-east-2 │ ue2 │ prod │ Production VPC │
│ plat-ue2-prod │ eks │ us-east-2 │ ue2 │ prod │ Production EKS cluster │
│ plat-uw2-staging │ vpc │ us-west-2 │ uw2 │ stage│ Staging VPC │
└─────────────────────┴───────────┴───────────┴─────────────┴──────┴────────────────────────┘
Practical Examples
Find All Production Infrastructure
Filter by stack pattern and see critical details:
atmos list instances --stack "*-prod" --columns "component,vars.region,enabled"
