add second server

This commit is contained in:
vincent 2022-07-26 21:04:51 +02:00
parent 1b4fafb422
commit e544436771

View File

@ -10,3 +10,15 @@ resource "hcloud_server" "HomeLab" {
} }
} }
resource "hcloud_server" "HomeLab2" {
count = var.instances
name = "corwin"
image = "rocky-9"
server_type = var.server_type
location = var.location
ssh_keys = [hcloud_ssh_key.default.id]
firewall_ids = [hcloud_firewall.HomeLab.id]
labels = {
}
}