readme and template path
This commit is contained in:
parent
f8b1b1d3d0
commit
ab03825875
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue