Uninstalling Using Terraform

Deleting the Cluster

Navigate to the directory from which you deployed the cluster using Terraform.

Execute the following commands to first plan, and then apply the deletion of the cluster.

terraform plan -destroy -out main.destroy.tfplan
terraform apply main.destroy.tfplan

Deleting a cluster is a destructive action and can't be undone. Make absolutely sure that you do not want the data or the cluster before deleting it.

Last updated