HashiCorp Certified: Terraform Associate — Question 324
Which of the following statements about local modules is incorrect?
Answer options
- A. Local modules are not cached by terraform init command
- B. Local modules are sourced from a directory on disk
- C. Local modules support versions
- D. All of the above (all statements above are incorrect)
- E. None of the above (all statements above are correct)
Correct answer: C
Explanation
The correct answer is C because local modules do not support versioning as they are directly referenced from a local directory. Options A and B are true; local modules are indeed sourced from a local directory and are not cached by the terraform init command. Therefore, option D and E are also incorrect.