Search⌘ K
AI Features

Destroying the Resources

Explore how to destroy AWS EKS clusters and related resources using Terraform commands. Understand key considerations like managing the Terraform state bucket and handling resources created outside Terraform. This lesson guides you through cleaning up infrastructure efficiently while preparing for future deployments.

We'll cover the following...

Destroying the resources

We’re almost finished with the quick exploration of Terraform using EKS as an example. We saw how to add and change resources, and the only thing missing is to learn how to destroy them.

If we’d like 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 ...