HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #34
Which command add existing resources into Terraform state?
The correct answer is D. Terraform import. This is the command that can add existing resources into Terraform state, by matching them with the corresponding configuration blocks in your files.
Implement and maintain state
Question
Which command add existing resources into Terraform state?
Options
- ATerraform init
- BTerraform plan
- CTerraform refresh
- DTerraform import
- EAll of these
How the community answered
(27 responses)- A4% (1)
- B4% (1)
- D81% (22)
- E11% (3)
Explanation
This is the command that can add existing resources into Terraform state, by matching them with the corresponding configuration blocks in your files.
Topics
#terraform import#state management#existing resources#import command
Community Discussion
No community discussion yet for this question.