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" { output "homelab_servers_status" {
value = { value = {
for server in hcloud_server.HomeLab : for server in hcloud_server.HomeLab2 :
server.name => server.status server.name => server.status
} }
} }
output "homelab_servers_ips" { output "homelab_servers_ips" {
value = { value = {
for server in hcloud_server.HomeLab : for server in hcloud_server.HomeLab2 :
server.name => server.ipv4_address server.name => server.ipv4_address
} }
} }

View File

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