homelab/infra/server.tf
2022-06-19 19:04:15 +02:00

13 lines
292 B
HCL

resource "hcloud_server" "HomeLab" {
count = var.instances
name = "merlin"
image = var.os_type
server_type = var.server_type
location = var.location
ssh_keys = [hcloud_ssh_key.default.id]
firewall_ids = [hcloud_firewall.HomeLab.id]
labels = {
}
}