00:00.0 / 00:00.0
README.md1.4 KB
View on GitHubExample: Demo Context
Inspect how Atmos resolves configuration from multiple sources.
Learn more about Describe Config.
What You'll See
- Context providers for dynamic values
- Name templates using context values
- Configuration merging from imports and mixins
Try It
cd examples/demo-context# Stack names are computed from context values via the name templateatmos describe config --format=yaml --query .stacks.name_template# See the stack names it producesatmos list stacks# Inspect the resolved component configuration (--query focuses on vars)atmos describe component demo -s acme-west-dev --query .vars
TIP
Run atmos describe config and atmos describe component demo -s acme-west-dev
without --query to see the full resolved configuration.
Key Files
| File | Purpose |
|---|---|
atmos.yaml | Name template using context providers |
stacks/deploy/ | Stack files with context values |
stacks/mixins/ | Region-specific context values |