add second server
This commit is contained in:
parent
1b4fafb422
commit
e544436771
@ -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 = {
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user