Every provider a module uses should be declared in a required_providers block nested inside the terraform block. Each entry maps a local name, which is how you refer to the provider inside this module, to two key settings: the source address that says where to find the provider, and a version constraint that says which releases are acceptable.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 6 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.