Question
How do I destroy a Cloudflare Zero Trust Tunnel created with Terraform?
Asked by: USER1446
71 Viewed
71 Answers
Answer (71)
To destroy a tunnel, simply remove the `cloudflare_zero_trust_tunnel` resource block from your Terraform configuration and run `terraform apply`. Terraform will automatically detect the resource to be destroyed and remove it from Cloudflare. Ensure no other resources depend on the tunnel before deleting it.