Atmos Hierarchical Stack Configuration

•
1.3k
•

Manages complex infrastructure configurations through hierarchical YAML stacks with deep merging, inheritance, and dynamic value resolution.

This skill empowers Claude to architect and manage Atmos stack configurations for Terraform and Helmfile environments. It enables the creation of DRY, scalable infrastructure definitions by utilizing hierarchical imports, multi-level variable inheritance, and sophisticated deep-merging logic. By separating configuration from infrastructure code, it allows a single root module to be deployed across hundreds of environments with unique settings, making it essential for DevOps engineers managing large-scale cloud footprints across multiple organizations, accounts, and regions.

Key Features

01Scoped overrides for environment variables, settings, and metadata
021,279 GitHub stars
03Multi-level component inheritance and abstract base definitions
04Dynamic value resolution using custom YAML functions and locals
05Automated stack discovery and name resolution based on directory patterns
06Hierarchical YAML configuration with recursive deep-merging logic

Use Cases

01Decoupling Terraform root module logic from environment-specific variable sets
02Managing complex Helmfile deployments with shared global settings and stage-specific overrides
03Standardizing cloud infrastructure across multiple AWS regions and accounts using the _defaults.yaml pattern