Closed lmayorga1980 closed 3 years ago
The destroy
command is based off what is in your state file. How are you managing the state file? Are you using some backend
? Or is it local, on disk? Could you perhaps have accidentally deleted or moved the file?
The state file is local on disk. But even when using Terraform itself without Terragrunt, I can destroy part of the resources that were created.
If the same thing is happening with Terraform, then I don't think it's related to Terragrunt?
Closing this as the original question has been answered. If there are any follow ups, please open a new ticket with updated context. Thanks!
I got the following error when deploying through terragrunt
Error: timeout - last error: http response error: 401 - invalid content type
This is because my
winrm
configuration was incorrect. Now I would like to destroy whatever resources where created prior the compute instances(firewall rules, networking objects, etc)When I was using Terraform binary i could just execute
terraform destroy
and it will destroy the objects that were created prior to the error.