remove merlin

This commit is contained in:
vincent 2022-11-13 17:22:37 +01:00
parent 658de35b0d
commit 50935ae052
2 changed files with 5 additions and 17 deletions

View File

@ -1,13 +1,13 @@
output "homelab_servers_status" {
value = {
for server in hcloud_server.HomeLab :
for server in hcloud_server.HomeLab2 :
server.name => server.status
}
}
output "homelab_servers_ips" {
value = {
for server in hcloud_server.HomeLab :
for server in hcloud_server.HomeLab2 :
server.name => server.ipv4_address
}
}

View File

@ -1,7 +1,7 @@
resource "hcloud_server" "HomeLab" {
resource "hcloud_server" "HomeLab2" {
count = var.instances
name = "merlin"
image = var.os_type
name = "corwin"
image = "rocky-9"
server_type = var.server_type
location = var.location
ssh_keys = [hcloud_ssh_key.default.id]
@ -15,15 +15,3 @@ 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.prod.id]
# labels = {
# }
#
#}