remove merlin
This commit is contained in:
parent
658de35b0d
commit
50935ae052
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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 = {
|
||||
# }
|
||||
#
|
||||
#}
|
||||
|
Loading…
Reference in New Issue
Block a user