What would you like to be added
Add the -chdir global flag for the configuration root directory to the teardown command and change the directory traverse for defaults.tfvars in contrib/terraform/hetzner/README.md
Teardown command change:
cd ./kubespray
terraform -chdir=./contrib/terraform/hetzner destroy --var-file=../../../inventory/$CLUSTER/default.tfvars
Why is this needed
in the $CLUSTER directory got this Error
╷
│ Error: Failed to load "../../contrib/terraform/hetzner" as a plan file
│
│ The specified path is a directory, not a plan file. You can use the global -chdir flag to use this
│ directory as the configuration root.
╵
What would you like to be added
Add the
-chdirglobal flag for the configuration root directory to the teardown command and change the directory traverse fordefaults.tfvarsincontrib/terraform/hetzner/README.mdTeardown command change:
Why is this needed
in the
$CLUSTERdirectory got this Error