Atmos Go Templates

•
1.3k
•

Enables advanced logic in Atmos configurations using Go templates, Sprig functions, and dynamic datasources.

The atmos-templates skill provides Claude with the specialized knowledge to implement complex logic within Atmos-managed infrastructure. While standard YAML functions handle basic tasks, this skill unlocks the full power of Go's text/template engine, Sprig, and Gomplate libraries for Terraform and Helmfile orchestration. It enables developers to use conditional logic, loops, and advanced string manipulation to maintain DRY configurations. By leveraging features like atmos.Component for inter-component communication and GomplateDatasource for external API integration, it simplifies the management of large-scale, hierarchical environment configurations.

主な機能

01Advanced logic using Go template syntax with Sprig and Gomplate library support
02Direct access to Atmos Store for secure configuration and secret management
031,279 GitHub stars
04Dynamic data retrieval from other Atmos components and Terraform outputs
05Multi-pass template evaluation for complex configuration pipelines
06External API integration via Gomplate datasources with built-in caching

ユースケース

01Generating dynamic tags and metadata by fetching data from external APIs or environment variables
02Sharing and cross-referencing configuration values between different Atmos components efficiently
03Implementing complex if/else logic and loops within Terraform stack manifests