Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 20 Topic 3 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 20 Topic 3 Discussion

Terraform-Associate-004 Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3

You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.

How will Terraform choose which version of the provider to use?


A.

Terraform will use the version recorded in your lock file


B.

Terraform will use the latest version of the provider for the new resource and the version recorded in the lock file to manage existing resources


C.

Terraform will check your state file to determine the provider version to use


D.

Terraform will use the latest version of the provider available at the time you provision your new resource


Get Premium Terraform-Associate-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.