HashiCorpHashiCorp
TERRAFORM-ASSOCIATE-004 · Question #140
TERRAFORM-ASSOCIATE-004 Question #140: Real Exam Question with Answer & Explanation
The correct answer is A: True. If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform init. This will ensure that you use the same provider versions across different machines and runs.
Submitted by priya_blr· Apr 18, 2026Use Terraform CLI
Question
If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.
Options
- ATrue
- BFalse
Explanation
If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform init. This will ensure that you use the same provider versions across different machines and runs.
Topics
#terraform init#version constraints#dependency lock file#provider versions
Community Discussion
No community discussion yet for this question.