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

12 lines
246 B
HCL

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