Atmos YAML Functions

•
1.3k
•

Enables dynamic configuration in Atmos stack manifests using custom YAML tags for Terraform states, secret stores, and AWS metadata.

Atmos YAML Functions provide a powerful set of custom YAML tags that allow DevOps engineers to inject dynamic behavior directly into infrastructure configurations. By enabling direct access to Terraform state outputs, environment variables, secret stores like SSM or Redis, and AWS account metadata, this skill helps maintain DRY (Don't Repeat Yourself) principles across complex multi-stack environments. It significantly improves performance and type safety by allowing configurations to fetch real-time data without manual intervention or slow CLI initializations.

Key Features

01Native AWS identity functions for account ID, region, and caller ARN
021,281 GitHub stars
03Dynamic file inclusion for local and remote JSON, YAML, and HCL files
04Shell execution support to capture script outputs within YAML manifests
05High-speed Terraform state access without requiring initialization
06Secure value retrieval from SSM, Redis, and Artifactory stores

Use Cases

01Creating reusable, modular stack templates with conditional file inclusion
02Automating environment-specific configuration via AWS metadata and environment variables
03Managing cross-stack dependencies by fetching Terraform outputs dynamically