Question 450
A root configuration's resource labels use for_each and the operator wants to inspect only one keyed instance in state. Which action most directly satisfies the requirement in this situation?
Explanation
Correct Answer
Terraform addresses for for_each include the instance key in brackets. The intended keyed address is selected without touching another instance.
Incorrect Answers
Declarative imports make adoption intent reviewable and repeatable. The intended keyed address is selected without touching another instance.
Terraform logging level is controlled by TF_LOG for debugging. Address the keyed instance precisely in terraform state show or list filtering.
Debugging should balance detail with operational safety and secret exposure. The intended keyed address is selected without touching another instance.