Atmos Go Templates

•
1.3k
•

Enables advanced Go templating, Sprig functions, and dynamic data fetching within Atmos configurations to simplify complex Terraform and Helmfile orchestration.

The Atmos Go Templates skill provides a powerful mechanism for managing complex infrastructure configurations by leveraging the full Go text/template syntax alongside Sprig and Gomplate libraries. It serves as an essential tool for DevOps engineers needing to implement conditional logic, loops, or dynamic key generation that exceeds standard YAML capabilities. By providing specialized functions such as atmos.Component for cross-component data access and atmos.GomplateDatasource for external API integration, this skill ensures that infrastructure-as-code remains DRY, modular, and highly adaptable across diverse environments.

主な機能

01Multi-pass template evaluation for resolving complex nested configurations and dependencies
02Full Go text/template support integrated with Sprig and Gomplate function libraries
031,279 GitHub stars
04Specialized atmos.Component function for accessing cross-component configurations and Terraform outputs
05Secure template escaping mechanisms to handle literal values for external tools like Helm or ArgoCD
06Dynamic data fetching via atmos.GomplateDatasource with automatic per-execution caching

ユースケース

01Injecting real-time data from external APIs or cloud secrets into infrastructure manifests
02Sharing state and configuration data between decoupled Terraform components using atmos.Component
03Implementing complex conditional logic and loops for dynamic resource tag generation