Exam Terraform-Associate-003 Topic 1 Question 128 Discussion
Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 128
Topic #: 1
Question #: 128
Topic #: 1
terraform validate confirms that your infrastructure matches the Terraform state file.
Suggested Answer: B Vote an answer
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.
-refresh-only option.
by Maureen at Mar 20, 2025, 04:29 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).