readme and template path

This commit is contained in:
Florian Nowarre 2022-09-18 21:48:22 +02:00
parent f8b1b1d3d0
commit ab03825875
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ Run Terraform to create the infrastructure.
```bash
terraform -chdir=../../contrib/terraform/hetzner init
terraform apply --var-file default.tfvars ../../contrib/terraform/hetzner/
terraform -chdir=../../contrib/terraform/hetzner/ apply --var-file=default.tfvars
```
You should now have a inventory file named `inventory.ini` that you can use with kubespray.

View file

@ -143,7 +143,7 @@ data "template_file" "machine-configs" {
name => machine
}
#template = file("${path.module}/machine-${each.key}.yaml.tmpl")
template = file("${path.module}/template/machine.yaml.tmpl")
template = file("${path.module}/templates/machine.yaml.tmpl")
vars = {
ssh_keys = jsonencode(var.ssh_public_keys)