ArticCon 2022 (continued)
So why not just use modules?
With terraform you’re in charge of one thing. And that’s by design.
- Write configuration
Terraform performs these high-level operations. You have no say in the matter.
- Read in configuration
- Do some transformations
- Build DAG
- Generate json
- Do things
Not necessarily a bad thing, but there are drawbacks.
- A lot of code is still duplicated.
- Throwing things up is still easy, but making a change in many little places is painful and error prone.
- The module isn’t always the best abstraction layer.