Atmos YAML Functions

•
1.3k
•

Enhances Atmos stack configurations with dynamic YAML functions for state access, environment variables, and file inclusion.

Atmos YAML Functions provide a powerful set of specialized tags for injecting dynamic behavior into infrastructure-as-code manifests. By utilizing explicit YAML tags like !terraform.state, !env, and !include, users can maintain DRY (Don't Repeat Yourself) configurations, fetch real-time data from cloud providers or state backends, and perform complex string manipulations using Go templates. This skill is essential for DevOps teams looking to automate environment-specific parameters without hardcoding values, ensuring high-performance configuration management through direct state backend access and built-in caching.

Key Features

01Secure value retrieval from SSM, Redis, and Artifactory using !store
02High-performance Terraform state access via !terraform.state for S3, GCS, and Azure
03Environment variable resolution from stack manifests or OS settings
041,279 GitHub stars
05Dynamic file inclusion supporting local, GitHub, S3, and OCI protocols
06Go template integration for complex list and map manipulations

Use Cases

01Automating environment-specific configuration by injecting system or stack environment variables
02Dynamically fetching VPC IDs or database endpoints from remote Terraform state backends
03Composing modular YAML manifests by including and templating external configuration files