-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Story Summary
As a platform engineer, I want to add templatefile processing for compose.yml and env.config in the instance module, so that configuration values are interpolated into the templates before being passed to Ignition.
✅ Acceptance Criteria
-
localsblock updated to processcompose.yml.tftplwith templatefile function -
localsblock updated to processenv.config.tftplwith templatefile function - Static files (Caddyfile, snippets, mysql-init) loaded via filebase64
- All template variables passed to ghost.bu via ct_config data source
- Base64 encoding applied to all file contents for Ignition
📝 Additional Context
- Design: Templates use
${var}syntax for OpenTofu interpolation - Static files don't need templatefile - use filebase64 directly
- The ct_config data source already exists - just add new template variables
📦 Definition of Ready
- Acceptance criteria defined
- Template files created (blocked by story 1)
- Variables defined (blocked by story 4)
- Story is estimated
- Team has necessary skills and access
- Priority is clear
- Business value understood
✅ Definition of Done
- All acceptance criteria met
- OpenTofu syntax valid (
tofu validatepasses) - Peer-reviewed
- Template interpolation working correctly