Network Hetzner

Creates a private network for cluster communication and load balancers for K8S and ingress API access. See here for a networking overview.

Requirements

NameVersion
hcloud~> 1.49

Providers

NameVersion
hcloud~> 1.49

Resources

NameType
hcloud_firewall.k3sresource
hcloud_network.networkresource
hcloud_network_subnet.load_balancersresource

Inputs

NameDescriptionTypeDefaultRequired
environmentEnvironment/stage for the resources (prod, dev, staging)stringn/ayes
labelsadditional labels for all created resourcesmap(string){}no
load_balancers_subnet_cidrCIDR for the loadbalancer subnetstring"10.0.2.0/24"no
locationHetzner location for created resources (nbg1, fsn1, …)string"nbg1"no
nameName for the K3S cluster associated resourcesstringn/ayes
network_cidrCIDR for the private networkstring"10.0.0.0/8"no
network_zoneHetzner network zone for network resources (eu-central, us-east, us-west)string"eu-central"no

Outputs

NameDescription
network_idHetzner resource id of the network