Destroying the Resources
Learn how to destroy all the resources that we created on the Google Cloud platform.
We'll cover the following...
Deleting the resources
We’re (almost) finished with the quick exploration of Terraform using GKE as an example. We’ve seen how to add and change resources, and the only thing missing is to learn how to destroy them.
If we want to delete some of the resources, all we have to do is remove their definitions and execute terraform apply
. However, in some cases, we might want to destroy everything. There’s a command for that as well. ...