Exam4Training

terraform validate confirms that your infrastructure matches the Terraform state file.

terraform validate confirms that your infrastructure matches the Terraform state file.
A . True
B . False

Answer: B

Explanation:

terraform validate does not confirm that your infrastructure matches the Terraform state file. It only checks whether the configuration files in a directory are syntactically valid and internally consistent3. To confirm that your infrastructure matches the Terraform state file, you need to use terraform plan or terraform apply with the -refresh-only option.

Exit mobile version