HashiCorp Certified: Terraform Associate — Question 193
What does terraform import do?
Answer options
- A. Imports existing resources into the state file
- B. Imports all infrastructure from a given cloud provider
- C. Imports a new Terraform module
- D. Imports clean copies of tainted resources
- E. None of the above
Correct answer: A
Explanation
The correct answer is A because terraform import is specifically designed to bring existing resources into the Terraform state file for management. Options B, C, and D are incorrect as they describe actions that are not the purpose of terraform import, and E is also incorrect as A is a valid statement.