TA-002-P · Question #371
terraform destroy is the only way to remove infrastructure.
The correct answer is B. False. terraform destroy is a primary method, but not the exclusive way to remove infrastructure managed by Terraform.
Question
terraform destroy is the only way to remove infrastructure.
Options
- ATrue
- BFalse
How the community answered
(60 responses)- A10% (6)
- B90% (54)
Why each option
terraform destroy is a primary method, but not the exclusive way to remove infrastructure managed by Terraform.
This statement is false because there are other methods to remove infrastructure, such as manual deletion or removing resources from the configuration and applying changes.
While terraform destroy is the standard command for tearing down all resources managed by a Terraform configuration, infrastructure can also be removed manually outside of Terraform, or by removing resource blocks from the configuration and running terraform apply.
Concept tested: Terraform infrastructure removal methods
Source: https://developer.hashicorp.com/terraform/cli/commands/destroy
Topics
Community Discussion
No community discussion yet for this question.