This commit is contained in:
@@ -4,9 +4,9 @@ data "template_file" "cloud_init_alpaca" {
|
||||
template = file("${path.module}/files/cloud_init.yaml")
|
||||
|
||||
vars = {
|
||||
ssh_key = file("~/.ssh/id_ed25519.pub")
|
||||
hostname = "alpaca-${count.index + 1}"
|
||||
domain = "home.arpa"
|
||||
ssh_key = file("~/.ssh/id_ed25519.pub")
|
||||
hostname = "alpaca-${count.index + 1}"
|
||||
domain = "home.arpa"
|
||||
tailscale_key = var.tailscale_key
|
||||
}
|
||||
}
|
||||
@@ -39,9 +39,9 @@ data "template_file" "cloud_init_llama" {
|
||||
template = file("${path.module}/files/cloud_init.yaml")
|
||||
|
||||
vars = {
|
||||
ssh_key = file("~/.ssh/id_ed25519.pub")
|
||||
hostname = "llama-${count.index + 1}"
|
||||
domain = "home.arpa"
|
||||
ssh_key = file("~/.ssh/id_ed25519.pub")
|
||||
hostname = "llama-${count.index + 1}"
|
||||
domain = "home.arpa"
|
||||
tailscale_key = var.tailscale_key
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user