module composition

Building a system from several small modules that pass values to each other through the root module, instead of one large module.

In more detail

HashiCorp recommends a flat structure: the root calls each module and wires one module's outputs into another's inputs. That keeps each module simple and independently reusable.

Related terms

Taught in

References

Certification courses