diff --git a/terraform/cloud-init.tf b/terraform/cloud-init.tf index 3950b62..216482e 100644 --- a/terraform/cloud-init.tf +++ b/terraform/cloud-init.tf @@ -4,9 +4,9 @@ data "template_file" "cloud_init_alpaca" { template = file("${path.module}/files/cloud_init.yaml") vars = { - ssh_key = var.ssh_key - hostname = "alpaca-${count.index + 1}" - domain = "home.arpa" + ssh_key = var.ssh_key + hostname = "alpaca-${count.index + 1}" + domain = "home.arpa" TS_AUTHKEY = var.TS_AUTHKEY } } @@ -39,9 +39,9 @@ data "template_file" "cloud_init_llama" { template = file("${path.module}/files/cloud_init.yaml") vars = { - ssh_key = var.ssh_key - hostname = "llama-${count.index + 1}" - domain = "home.arpa" + ssh_key = var.ssh_key + hostname = "llama-${count.index + 1}" + domain = "home.arpa" TS_AUTHKEY = var.TS_AUTHKEY } }