Cannot stop a serive
Hello, I am learning to use terraform and aws. I created a cluster and a installed a flask application with helm. Everything was working fine but then i deleted the eks cluster from the dashboard. Now terraform destroy wont work and i cannot stop the instances that have been created. Every time i stop them they keep coming up again. I just need to stop everything would be grateful for any ideas on how to do that.
It seems like you have a drift - your EKS cluster is in Terraform state file, but not actually present. Try to remove it from state by using terraform state rm and make sure there is no difference between state and actual resources. After that you should be able to destroy everything using Terraform
I managed to do it and found out about terraform state rm. Thank you for your help!
Relevant questions
How do i stop a restore job that's running for a week.
asked 3 months agoCannot delete because cluster <cluster name> currently has an update in progress
Accepted Answerasked 3 months ago[EKS] Use Multus with existing cluster created by eksctl
asked 3 months agoScaling a cluster
asked 3 years agoDeploying a Machine Learning Project with django and laravel as a backend.
asked 20 days agoHow do I get a Redshift Auqa cluster to stop pausing and actually pause?
asked 24 days agoCannot stop a serive
asked 5 months agoI can't stop/close my redshift cluster
Accepted Answerasked 5 months agoUnable to create EKS Cluster
asked a month agoUse RDS Postgres Replicas as a cluster
Accepted Answerasked 4 months ago