Question 110
At Dalesworth Manufacturing IT, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: a project declares an ambiguous provider source and Terraform installs a different publisher's plugin. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. What mechanism explains why the original approach fails?
Explanation
Correct Answer
Provider identity includes a source address not just a local alias or human label. That mechanism distinguishes provider source address registry namespace in the Dalesworth Manufacturing IT case. The corresponding appropriate correction is: Specify the full registry source address namespace and provider type. The measurable acceptance test is: Init reports the intended official provider source and its version.
Incorrect Answers
“The dependency lock file preserves previously selected versions until an upgrade is explicitly requested” reflects the mechanism: The dependency lock file preserves previously selected versions until an upgrade is explicitly requested. The actual reported symptoms are better explained by: Provider identity includes a source address not just a local alias or human label.
The offered principle describes: Provider configurations are passed from callers and an alias is not implicitly created in child modules. The situation in this question instead depends on: Provider identity includes a source address not just a local alias or human label. These are different technical conditions.
“Count creates indexed resource instances rather than one scalar resource value” reflects the mechanism: Count creates indexed resource instances rather than one scalar resource value. The actual reported symptoms are better explained by: Provider identity includes a source address not just a local alias or human label.