Search code examples
windowsmacosterraformistiodestroy

Terraform Destroy with Istio module


We are using Terraform in a project where we implemented an Istio module. Whenever we run the terraform destroy command, the Istio module runs a rm -rf command.

This works fine on Mac machines, on windows machines this causes errors.

For reference, the command is called inside the istio module and is outside of our codebase.

module "istio" {
  source  = "combinator-ml/istio/k8s"
}

Anyone run into this issue and has a workaround?


Solution

  • We ended up using git bash on our windows machines as a workaround