TERRAFORM-ASSOCIATE-003 · Question #111
A terraform apply can not _________ infrastructure.
The correct answer is D. import. The terraform import command is used to import existing infrastructure into Terraform's state. This allows Terraform to manage and destroy the imported infrastructure as part of the configuration. The terraform import command does not modify the configuration, so the imported…
Question
A terraform apply can not _________ infrastructure.
Options
- Achange
- Bdestroy
- Cprovision
- Dimport
How the community answered
(24 responses)- A17% (4)
- B8% (2)
- C4% (1)
- D71% (17)
Explanation
The terraform import command is used to import existing infrastructure into Terraform's state. This allows Terraform to manage and destroy the imported infrastructure as part of the configuration. The terraform import command does not modify the configuration, so the imported resources must be manually added to the configuration after the import.
Topics
Community Discussion
No community discussion yet for this question.