HashiCorp Certified: Terraform Associate — Question 200
Which command lets you experiment with Terraform expressions?
Answer options
- A. terraform console
- B. terraform validate
- C. terraform env
- D. terraform test
Correct answer: A
Explanation
The correct answer is A, as 'terraform console' provides an interactive environment to evaluate and experiment with Terraform expressions. Options B, C, and D do not provide an interactive console for expression testing; 'terraform validate' checks configuration files, 'terraform env' manages workspaces, and 'terraform test' is used for testing modules.