add terraform instructions to README.md

This commit is contained in:
Florian Nowarre 2022-09-21 16:05:58 +02:00
parent f616280b98
commit c789c861f8

View file

@ -66,6 +66,8 @@ Rescue-Mode with the selected image of the `var.machines` but installs Flatcar i
Run Terraform to create the infrastructure. Run Terraform to create the infrastructure.
NOTE: Assumes you are at the root of the kubespray repo.
```bash ```bash
terraform -chdir=./contrib/terraform/hetzner/ init terraform -chdir=./contrib/terraform/hetzner/ init
terraform -chdir=./contrib/terraform/hetzner/ apply --var-file=./inventory/my-hetzner-cluster/default.tfvars terraform -chdir=./contrib/terraform/hetzner/ apply --var-file=./inventory/my-hetzner-cluster/default.tfvars