fix: forgot to remove lb attachment

This commit is contained in:
2025-12-31 14:05:05 -05:00
parent d4ae65180b
commit 31118df33a

View File

@@ -12,13 +12,6 @@ resource "hcloud_network_subnet" "subnet" {
ip_range = local.subnet-cidr ip_range = local.subnet-cidr
} }
// Attach the load balancer to the compute subnet.
resource "hcloud_load_balancer_network" "attachment" {
load_balancer_id = hcloud_load_balancer.lb.id
subnet_id = hcloud_network_subnet.subnet.id
ip = local.lb-private-ip
}
// Provide internet to the private servers, by sending all internet traffic to // Provide internet to the private servers, by sending all internet traffic to
// the NAT. // the NAT.
resource "hcloud_network_route" "gateway" { resource "hcloud_network_route" "gateway" {