While terraform destroy is a common way to remove infrastructure, it isnot the only way.
You can also remove resources bydeleting them from the configuration and running terraform apply.
Manually deleting resources in the cloud provider can also remove infrastructure (but Terraform won’t be aware unless the state is updated).
Official Terraform Documentation Reference:
terraform destroy - HashiCorp Documentation
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit