Ravi Sir's Cards › Chapter 35: Terraform Modules Writing Using Registry and Versioning
Why should a reusable module not contain a provider block?
Why should a reusable module not contain a provider block? The caller should decide the Region, account and credentials. If a module has its own provider block, callers cannot pass a different one, and removing the module later becomes difficult.

Lesson: 35.2 Write a module — inputs, resources, outputs · मराठी card