What is a Terraform module and why use one?

BeginnerConceptModules
Answer

A module is a directory of .tf files that groups resources into a reusable unit with inputs (variables) and outputs. Every configuration is a module; reusable ones are called from others. We write modules to enforce standards (every bucket encrypted, tagged and logged) and to stop copy-paste across teams.

All Terraform questions Roadmap: Terraform

More on Modules