HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #112
How is terraform import run?
The correct answer is D. By an explicit call. The terraform import command is not part of any other Terraform workflow. It must be explicitly invoked by the user with the appropriate arguments, such as the resource address and the ID of the existing infrastructure to import.
Implement and maintain state
Question
How is terraform import run?
Options
- AAs a part of terraform init
- BAs a part of terraform plan
- CAs a part of terraform refresh
- DBy an explicit call
- EAll of the above
How the community answered
(54 responses)- A2% (1)
- B15% (8)
- C9% (5)
- D70% (38)
- E4% (2)
Explanation
The terraform import command is not part of any other Terraform workflow. It must be explicitly invoked by the user with the appropriate arguments, such as the resource address and the ID of the existing infrastructure to import.
Topics
#terraform import#CLI commands#state management
Community Discussion
No community discussion yet for this question.