Atmos YAML Functions

•
1.3k
•

Enhances Atmos stack configurations with dynamic YAML tags for reading Terraform state, environment variables, and external data.

This skill equips Claude with the specialized knowledge to implement and troubleshoot Atmos YAML functions, which are essential for creating dynamic, DRY (Don't Repeat Yourself) infrastructure configurations. It enables efficient access to Terraform outputs via direct state backend reads, integration with configuration stores like AWS SSM or Redis, and the execution of shell scripts or Go templates directly within Atmos manifests. By utilizing these functions, developers can significantly reduce configuration duplication and build more resilient, environment-aware infrastructure-as-code deployments while maintaining strict type safety.

主要功能

011,291 GitHub stars
02Integrate with cloud configuration stores like AWS SSM, Redis, and Artifactory using !store
03Resolve AWS identity data like Account IDs and Regions natively within YAML files
04Include local or remote files (YAML, JSON, HCL) dynamically within manifests via !include
05Access Terraform outputs 10-100x faster via direct state backend reading using !terraform.state
06Execute shell scripts and inject their output into stack configurations with !exec

使用场景

01Sharing outputs between decoupled infrastructure components without manual intervention
02Modularizing large YAML configurations using remote file inclusions and Go templates
03Injecting dynamic secrets or environment-specific configurations from SSM into stack manifests