test: try doing the lb separately
This commit is contained in:
@@ -20,8 +20,9 @@ resource "hcloud_network_route" "gateway" {
|
||||
gateway = local.nat-private-ip
|
||||
}
|
||||
|
||||
// A managed certificate for the domain, to be used by the load balancer.
|
||||
resource "hcloud_managed_certificate" "managed_cert" {
|
||||
name = "managed_cert"
|
||||
domain_names = ["*.${local.domain}", "${local.domain}"]
|
||||
// Attach the load blaancer to the private network.
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user