Exam Terraform-Associate-003 Topic 4 Question 86 Discussion

Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 86
Topic #: 4
What does Terraform use the .terraform.lock.hc1 file for?

Suggested Answer: B Vote an answer

The .terraform.lock.hcl file is a new feature in Terraform 0.14 that records the exact versions of each provider used in your configuration. This helps ensure consistent and reproducible behavior across different machines and runs.

by unknown69 at Mar 21, 2025, 02:27 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
Uknown69CYP
2025-03-22 11:32:15
Edit the question. it should be .terraform.lock.hc and NOT .terraform.lock.hc1
upvoted 1 times
...
unknown69
2025-03-21 14:27:08
Terraform uses the .terraform.lock.hcl file and not what is mentioned on the question (.terraform.lock.hc1).
please correct me if I am wrong
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10