small fix post merging master

This commit is contained in:
Karim Naufal 2022-03-09 09:40:20 +01:00
parent b7c6bbbe8f
commit 9cc302c6c9

View File

@ -13,14 +13,6 @@ resource "hcloud_network" "k3s" {
ip_range = var.network_ipv4_range ip_range = var.network_ipv4_range
} }
# This is the default subnet to be used by the load balancer.
resource "hcloud_network_subnet" "default" {
network_id = hcloud_network.k3s.id
type = "cloud"
network_zone = var.network_region
ip_range = "10.0.0.0/16"
}
resource "hcloud_network_subnet" "subnet" { resource "hcloud_network_subnet" "subnet" {
count = length(local.network_ipv4_subnets) count = length(local.network_ipv4_subnets)
network_id = hcloud_network.k3s.id network_id = hcloud_network.k3s.id