HashiCorp Certified: Terraform Associate — Question 80

Terraform validate reports syntax check errors from which of the following scenarios?

Answer options

Correct answer: D

Explanation

The correct answer is D because Terraform validate is specifically designed to check the syntax of the configuration files, and the other options relate to runtime or state issues rather than syntax errors. Options A, B, and C do not pertain to syntax checks, but rather to configuration and state inconsistencies.