Atmos YAML Functions

•
1.3k
•

Streamlines Terraform orchestration by injecting dynamic values and logic into Atmos stack configurations using specialized YAML explicit tags.

Atmos YAML Functions provides a powerful suite of YAML tags that enable dynamic behavior and structured data injection within Atmos stack manifests. It allows DevOps engineers to read Terraform outputs directly from state backends, fetch secrets from various stores, execute shell scripts, and manage environment-specific configurations while maintaining a DRY and type-safe architecture. This skill is essential for users managing complex multi-environment cloud infrastructure who need to automate data lookups, integrate with cloud provider metadata, and reduce configuration boilerplate in their Infrastructure-as-Code (IaC) workflows.

Key Features

01Dynamic file inclusion supporting local, GitHub, S3, and GCS protocols.
021,302 GitHub stars
03High-performance Terraform state access (10-100x faster) without full initialization.
04Native integration with AWS identity services, SSM Parameter Store, and Redis for secret management.
05Advanced Go template evaluation within YAML for handling complex data types like lists and maps.
06Secure shell script execution (!exec) and random value generation for dynamic configuration needs.

Use Cases

01Automating the retrieval of AWS account IDs and region-specific metadata for multi-account deployments.
02Creating reusable, hierarchical configuration patterns for Kubernetes, Helmfile, and Terraform setups.
03Referencing VPC IDs or database hostnames across different Terraform components and environments.