Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam Terraform-Associate-003 Topic 6 Question 35 Discussion

Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 35
Topic #: 6
[All Terraform-Associate-003 Questions]

Which argument can you use to prevent unexpected updates to a module's configuration when calling Terraform Registry modules?

Show Suggested Answer Hide Answer
Suggested Answer: C

Comprehensive and Detailed in-Depth

The version argument in a module ensures Terraform uses a specific version of a module, preventing unintended updates.

A (source) -- Specifies the module source but does not control versioning.

B (count) -- Controls how many instances of a resource/module exist, not updates.

D (lifecycle) -- Controls how resources behave but does not control module versioning.

Official Terraform Documentation Reference:


Contribute your Thoughts:

Kattie
2 hours ago
C) version is the way to go. Don't want any surprises when your infrastructure decides to update itself without your permission!
upvoted 0 times
...
Sheridan
9 days ago
Because the lifecycle argument allows you to control when resources are created, updated, or deleted.
upvoted 0 times
...
Merissa
10 days ago
Why do you think it's lifecycle?
upvoted 0 times
...
Sheridan
15 days ago
I disagree, I believe it's D) lifecycle.
upvoted 0 times
...
Merissa
22 days ago
I think the answer is C) version.
upvoted 0 times
...

Save Cancel