monolithic configuration
A single large Terraform directory that holds every resource and environment choice, with no modules.
In more detail
It works at first, but reviews slow down, plans get large and the only way to reuse anything is copying and pasting. Splitting it into modules gives one place to fix each rule.
Related terms
- Terraform module — A directory of Terraform files with inputs (variables) and outputs, which other configurations can call to reuse the same infrastructure design.
- module composition — Building a system from several small modules that pass values to each other through the root module, instead of one large module.
Taught in
- Why Modules: Composition Versus Monoliths — Infrastructure as Code with Terraform