INFORMATION
I’m trying to delete 2 clusters:
- b8507aad-44cc-424f-afd5-98281ca3d16d (Managed EKS)
- 1b707453-806f-4b0a-a2de-eef2d55d5af1 (K3S)
Both fail with an error.
The managed one throws this error:
DeleteError - Unknown error while performing Terraform command (`terraform destroy -lock=false -no-color -auto-approve`), here is the error:
Error: deleting Security Group (sg-0eeb5a14390c8326e): DependencyViolation: resource sg-0eeb5a14390c8326e has a dependent object
status code: 400, request id: e5a786a3-3525-4626-840f-40bdecd3c18c
Error: error deleting ElastiCache Subnet Group (elasticache-vpc-0669594d0ab93c67e): CacheSubnetGroupInUse: Cache subnet group elasticache-vpc-0669594d0ab93c67e is currently in use by a cache cluster.
status code: 400, request id: df06ae45-df74-4138-af6c-fc9599b6b24b
While the K3S fails with this error:
DeleteError - Kubernetes API cannot be reached.
Could you give me a hand deleting these clusters?