resource "hcloud_network" "network" { name = "vnet-${var.project_name}" ip_range = "10.0.0.0/16" labels = merge( local.common_labels, { "Resource_Type" = "Virtual_Network" } ) } resource "hcloud_network_subnet" "subnet" { network_id = hcloud_network.network.id type = "cloud" ip_range = "10.0.1.0/24" network_zone = "eu-central" }