Question 90
At Cedarhaven Retail Infrastructure, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: one administrative credential is reused across all Terraform providers and gives unnecessary access to several systems. 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
Multi-provider workflows do not require a single universal credential. That mechanism distinguishes cloud provider credentials as separate security boundaries in the Cedarhaven Retail Infrastructure case. The corresponding appropriate correction is: Use separate least-privilege credentials for each provider context. The measurable acceptance test is: Access tests allow intended API operations and deny unrelated service actions.
Incorrect Answers
The offered principle describes: Resources from distinct providers can share a dependency graph when declared together. The situation in this question instead depends on: Multi-provider workflows do not require a single universal credential. These are different technical conditions.
This alternative is valid when repeated copied configuration can propagate configuration errors across services. The facts here establish a different controlling reason: Multi-provider workflows do not require a single universal credential.
“Variables without defaults require a supplied value at the module boundary” reflects the mechanism: Variables without defaults require a supplied value at the module boundary. The actual reported symptoms are better explained by: Multi-provider workflows do not require a single universal credential.