When does Terraform create the .terraform.lock.hc1 file?
A.
After your first terraform plan
B.
After your first terraform apply
C.
After your first terraform init
D.
When you enable state locking
The Answer Is:
C
This question includes an explanation.
Explanation:
Terraform creates the .terraform.lock.hcl file after the first terraform init command. This lock file ensures that the dependencies for your project are consistent across different runs by locking the versions of the providers and modules used.
Terraform-Associate-003 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"