Question 630
A network resource must wait for a separately configured policy object even though it does not consume that object's attributes. Which failure mode would most clearly show that this specific requirement remains unmet?
Explanation
Correct Answer
Explicit depends_on is appropriate for behavioral dependencies not visible through value references. Use depends_on to express the otherwise invisible dependency, with a comment explaining it.
Incorrect Answers
For_each expresses keyed repetitions from suitable collections. The graph shows the network resource depends on the policy object.
Data sources expose remote information for use by managed resources without ownership of the source object. Use depends_on to express the otherwise invisible dependency, with a comment explaining it.
A sensitive output flag controls presentation but does not guarantee absence from state. The graph shows the network resource depends on the policy object.