False: the primary way to delete infrastructure managed by Terraform is to remove the corresponding declarations from your configuration and run terraform apply.
terraform destroy (or, equivalently, terraform apply -destroy) is for the less common situation where you want to destroy everything managed by a particular configuration, which is not an everyday operation for long-lived infrastructure but can be useful for short-lived infrastructure such as one-time testing environments.
https://discuss.hashicorp.com/t/is-terraform-destroy-the-only-way/36619/4
correct, you can also remove the resource definition in the state file if you previously stated it, it will detect the resource definition is absent and will delete the resource
Unless you state the resource, but someone delete it manually, it will recreate it
if you remove just from state, terrafrom will forgot about resource and just create new one on next apply, so first instance will not be deleted
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Basavaraju_V
Highly Voted 1 year, 8 months agoramzez4815
Most Recent 1 year, 1 month agoPietjeplukgeluk
1 year, 9 months agoArizonaClassics
1 year, 10 months agonakikoo
1 year, 10 months agoJohnGasp
1 year, 4 months ago