In Terraform, what is a module?
- aA single provider block that configures cloud credentials
- bA reusable container that groups related resources together✓
- cA remote server that runs terraform apply on a schedule
- dA file that only stores the state of previously applied resources
Explanation:A module is a container for one or more resource blocks (plus variables/outputs) that are grouped and used together as a reusable unit, so the same infrastructure pattern can be instantiated multiple times without copy-pasting resource definitions.