Exam4Training

What does Terraform use the .terraform.lock.hc1 file for?

What does Terraform use the .terraform.lock.hc1 file for?
A . There is no such file
B . Tracking specific provider dependencies
C . Preventing Terraform runs from occurring
D . Storing references to workspaces which are locked

Answer: B

Explanation:

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.

Latest TA-003-P Dumps Valid Version with 138 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version