Problem Statement
Why are Terraform modules used in large-scale infrastructure projects?
Explanation
Modules in Terraform help encapsulate reusable infrastructure components like networks, security groups, or compute instances.
They simplify large configurations, enforce best practices, and ensure consistency across multiple environments. Teams can publish modules internally or use verified public modules from the Terraform Registry.
