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.

posta 2 anni fa210 visualizzazioni
2 Risposte
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

con risposta 2 anni fa
0

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

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande