HashiCorp Certified: Terraform Associate — Question 138
Which of these commands makes your code more human readable?
Answer options
- A. terraform validate
- B. terraform output
- C. terraform plan
- D. terraform fmt
Correct answer: D
Explanation
The correct answer is D, as 'terraform fmt' formats the code according to standard conventions, making it easier for humans to read. The other options serve different purposes, such as validating configurations, displaying output, or showing a plan for changes, but they do not specifically enhance readability.