HashiCorp Certified: Terraform Associate (003) — Question 24
You must initialize your working directory before running terraform validate.
Answer options
- A. True
- B. False
Correct answer: A
Explanation
The correct answer is True because initializing the working directory is essential for Terraform to download necessary providers and configure the backend. Without initialization, Terraform cannot validate the configuration files correctly, making the process incomplete.