From 45ecceb3e1dec25132a5372ac09ad24546979da2 Mon Sep 17 00:00:00 2001 From: Farshad Asadpour Date: Tue, 8 Apr 2025 12:46:39 +0330 Subject: [PATCH] docs(terraform): update command for destroying infrastructure in README (#12111) --- contrib/terraform/hetzner/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/terraform/hetzner/README.md b/contrib/terraform/hetzner/README.md index 63ef640e7..79e879c4f 100644 --- a/contrib/terraform/hetzner/README.md +++ b/contrib/terraform/hetzner/README.md @@ -102,7 +102,8 @@ Please read the instructions in both repos on how to install it. You can teardown your infrastructure using the following Terraform command: ```bash -terraform destroy --var-file default.tfvars ../../contrib/terraform/hetzner +cd ./kubespray +terraform -chdir=./contrib/terraform/hetzner/ destroy --var-file=../../../inventory/$CLUSTER/default.tfvars ``` ## Variables