fix: forgot to remove lb attachment
This commit is contained in:
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user