HashiCorp Certified: Terraform Associate — Question 178

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

Answer options

Correct answer: C

Explanation

The 'version' argument specifies the exact version of the module to use, preventing automatic updates to newer versions that may introduce breaking changes. The 'count' and 'lifecycle' arguments serve different purposes, such as resource creation and management, while 'source' indicates the location of the module, but none of these options control the versioning aspect directly.