Child Modules

A Terraform module (usually the root module of a configuration) can call other modules to include their resources into the configuration.

A Terraform module (usually the root module of a configuration) can call other modules to include their resources into the configuration. A module that has been called by another module is often referred to as a child module.

Child modules can be called multiple times within the same configuration, and multiple configurations can use the same child module.

We do not recommend consuming these child modules like you might a public module. They aim to be a baseline, something you can fork, potentially maintain, and modify to fit your organization's needs. Using public modules vs. writing your own has various drivers and trade-offs your organization should evaluate.

Catalog

Last updated