HashiCorp Certified: Terraform Associate (003) — Question 2
Which argument(s) are required when declaring a Terraform variable?
Answer options
- A. type
- B. default
- C. description
- D. All of the above
- E. None of the above
Correct answer: E
Explanation
When declaring a variable in Terraform, none of the arguments (type, default, description) are mandatory. Therefore, the correct answer is E. Options A, B, and C may enhance the variable definition but are not required for the declaration itself.