HashiCorp Certified: Terraform Associate — Question 288
Which command lets you experiment with Terraform's built-in functions?
Answer options
- A. terraform env
- B. terraform console
- C. terraform test
- D. terraform validate
Correct answer: B
Explanation
The correct answer is B, as 'terraform console' provides an interactive command-line interface to experiment with Terraform functions and expressions. The other options do not facilitate experimentation with functions; 'terraform env' manages workspaces, 'terraform test' is for testing configurations, and 'terraform validate' checks for syntax errors in the configuration files.