Atmos Go Templates

•
1.3k
•

Automates complex infrastructure configurations using Go-based templating and dynamic external data sources.

This skill enables Claude to master Atmos Go Templates for sophisticated Terraform orchestration and YAML configuration management. It provides the capabilities to implement complex conditional logic, loops, and dynamic key generation using Go's text/template syntax alongside Sprig and Gomplate function libraries. By leveraging this skill, developers can maintain DRY infrastructure code, fetch data from external APIs via Gomplate datasources, and access cross-component configurations or Terraform outputs directly within their stack manifests, ensuring high levels of automation and flexibility in DevOps workflows.

主要功能

011,294 GitHub stars
02Multi-pass template evaluation for complex, multi-stage resolution
03Support for full Go text/template syntax with Sprig and Gomplate libraries
04Cross-component state and attribute retrieval using atmos.Component
05Type-safe data handling using !template with JSON conversion
06Dynamic external data fetching via atmos.GomplateDatasource with caching

使用场景

01Fetching runtime secrets or configurations from external APIs during deployment
02Generating dynamic resource tags and environment-specific metadata
03Implementing complex conditional logic and loops within YAML stack manifests