HashiCorp Certified: Terraform Associate — Question 336
Terraform installs its providers during which phase?
Answer options
- A. Plan
- B. Init
- C. Refresh
- D. All of the above
Correct answer: B
Explanation
The correct answer is B, Init, as this is the phase where Terraform downloads and installs the required providers. The Plan phase is for creating an execution plan, and Refresh is for updating the state file with the real infrastructure state, neither of which involve installing providers.