HashiCorp Certified: Terraform Associate — Question 341

Which configuration consistency errors does terraform validate report?

Answer options

Correct answer: D

Explanation

The correct answer is D because terraform validate checks for configuration errors like declaring a resource identifier more than once, which can cause conflicts. Options A and B refer to formatting and state discrepancies that are not specifically identified by terraform validate, while option C pertains to module versioning rather than configuration consistency.