Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 281


Which argument helps prevent unexpected updates when calling Terraform Registry modules?

Show Answer
Correct Answer: C

The version argument helps prevent unexpected updates when calling Terraform Registry modules. It allows you to specify the exact version of the module you want to use, ensuring that your configuration consistently utilizes the same version until you explicitly choose to update it. This practice helps maintain stability and predictability in your infrastructure by avoiding unintentional changes from automatic module updates.

Discussion

3 comments
Sign in to comment
bigmicOption: C
Aug 15, 2023

version is correct

Pete987Option: C
Aug 23, 2023

C. version The version argument helps prevent unexpected updates when calling Terraform Registry modules. It allows you to specify the exact version of the module you want to use. This ensures that your configuration consistently uses the same version of the module until you explicitly decide to update it to a newer version. Using the version argument is a good practice to ensure that your infrastructure remains stable and predictable, as it prevents unintentional changes caused by automatic module updates.

heelocoOption: C
Sep 21, 2023

agree Pete987