terraform-res
2024-01-14
Extract domain logic from main.tf into locals.tf
3 files · 168+ · 69-
Domain logic extraction
3 files changed
locals.tfMassively expanded with domain processing, record merging, and computed mappingsmain.tfSimplified to module calls using computed localsoutputs.tfExpanded output definitions
- Extracted all domain data processing logic from main.tf into locals.tf, creating a clear pipeline from raw JSON through computed domain maps, record merges, and provider-specific configurations
decouple
architectural
2 files
locals.tfmain.tf
- Expanded outputs to expose domain processing results for debugging and downstream consumption
interface
internal
1 file
outputs.tf