Question 590
During acceptance testing, a product infrastructure team needs evidence that Resource attribute reference actually helps it connect a subnet's network_id to a VPC created in the same module. Which finding is strongest?
Explanation
Correct Answer
This finding directly verifies Resource attribute reference: direct references establish data flow and implicit dependencies. It establishes the stated outcome rather than merely confirming a resource exists.
Incorrect Answers
That evidence concerns Module output reference, used to consume an address exported by a child networking module. It does not verify whether Resource attribute reference meets its acceptance criteria.
That evidence concerns local value reference, used to reuse a derived naming prefix without declaring an externally supplied input variable. It does not verify whether Resource attribute reference meets its acceptance criteria.
That evidence concerns count.index expression, used to give counted resource instances distinct names based on their numeric position. It does not verify whether Resource attribute reference meets its acceptance criteria.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests