HashiCorp Certified: Terraform Associate — Question 110
When using a module from the public Terraform Module Registry, the following parameters are required attributes in the module block. (Choose two.)
Answer options
- A. Each of the module’s required inputs
- B. The module’s source address
- C. Terraform Module Registry account token
- D. Each of the module’s dependencies (example: submodules)
- E. The version of the module
Correct answer: A, B
Explanation
The correct answers, A and B, are essential because each module requires specific inputs that must be defined, and the source address indicates where the module can be found. Options C, D, and E are not necessary to define in the module block for it to function properly, as they relate to access tokens or dependencies that are not required for module instantiation.