Cannot stop a serive

0

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.

gefragt vor 2 Jahren210 Aufrufe
2 Antworten
0

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

beantwortet vor 2 Jahren
0

I managed to do it and found out about terraform state rm. Thank you for your help!

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen