Question 700
An organization already has a database created manually, and Terraform should adopt it without creating another database. Which Terraform concept most directly explains the appropriate approach?
Explanation
Correct Answer
Write the matching resource configuration and import the existing remote object to its intended address. State maps the configured resource address to the existing database identity.
Incorrect Answers
Run terraform state list with the correct initialized backend context. Write the matching resource configuration and import the existing remote object to its intended address.
Unset TF_LOG and related debug environment settings after the session. State maps the configured resource address to the existing database identity.
Address the keyed instance precisely in terraform state show or list filtering. Write the matching resource configuration and import the existing remote object to its intended address.