stage #8
@ -4,9 +4,9 @@ data "template_file" "cloud_init_alpaca" {
|
|||||||
template = file("${path.module}/files/cloud_init.yaml")
|
template = file("${path.module}/files/cloud_init.yaml")
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
ssh_key = var.ssh_key
|
ssh_key = var.ssh_key
|
||||||
hostname = "alpaca-${count.index + 1}"
|
hostname = "alpaca-${count.index + 1}"
|
||||||
domain = "home.arpa"
|
domain = "home.arpa"
|
||||||
TS_AUTHKEY = var.TS_AUTHKEY
|
TS_AUTHKEY = var.TS_AUTHKEY
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -39,9 +39,9 @@ data "template_file" "cloud_init_llama" {
|
|||||||
template = file("${path.module}/files/cloud_init.yaml")
|
template = file("${path.module}/files/cloud_init.yaml")
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
ssh_key = var.ssh_key
|
ssh_key = var.ssh_key
|
||||||
hostname = "llama-${count.index + 1}"
|
hostname = "llama-${count.index + 1}"
|
||||||
domain = "home.arpa"
|
domain = "home.arpa"
|
||||||
TS_AUTHKEY = var.TS_AUTHKEY
|
TS_AUTHKEY = var.TS_AUTHKEY
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user