TERRAFORM-ASSOCIATE-003 · Question #197
Which command(s) adds existing resources in a public cloud into Terraform state?
The correct answer is D. terraform import. Importing Existing Resources: The terraform import command brings resources already deployed in a cloud environment into Terraform's state file, allowing Terraform to manage them. Workflow Usage: Importing is vital when managing resources created outside of Terraform or those…
Question
Which command(s) adds existing resources in a public cloud into Terraform state?
Options
- Aterraform init
- Bterraform plan
- Cterraform refresh
- Dterraform import
- EAll of these
How the community answered
(20 responses)- A5% (1)
- B5% (1)
- C10% (2)
- D80% (16)
Explanation
Importing Existing Resources: The terraform import command brings resources already deployed in a cloud environment into Terraform's state file, allowing Terraform to manage them. Workflow Usage: Importing is vital when managing resources created outside of Terraform or those in place before Terraform adoption.
Topics
Community Discussion
No community discussion yet for this question.