# Terraform not deleting the nodes created by Karpenter !!! — retained record

> Retained reddit record from reddit:kubernetes.

Canonical: https://highsignal.app/data/records/9632bc813a04fd72

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:kubernetes)  published 2026-10-19 08:33 ingested 2026-10-20 02:39

[original source ↗](https://www.reddit.com/r/kubernetes/comments/1x9rdvn/terraform_not_deleting_the_nodes_created_by/)

## retained text



```
Hello guys, 

So I have implemented a personal project in which I have provisioned AWS EKS architecture, bootstrapped flux through terraform and then flux reconciles everything including Karpenter. Terraform is handling the IRSA part and then pass iam role arn of controller and node iam role name through configmap terraform resource. 

How should I configure so that Karpenter nodes are also deleted automatically. Found that I should delete nodeclaim’s first and then terraform destroy but I want to automate this. 
```



document fetched 2026-10-20 00:37 · canonical https://reddit.com/r/kubernetes/comments/1x9rdvn/terraform_not_deleting_the_nodes_created_by
