Quiz 6 Question 6 of 20

A platform team must bring several hundred existing compute instances spread across one cloud account under Terraform management. Nobody has an inventory of their IDs, and hand-writing an import block for each is not practical. Using Terraform 1.15 and a provider that supports list resources, which approach fits?

Select an answer to reveal the explanation.

Motivation