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
Name | Version |
---|---|
hcloud | ~> 1.49 |
Providers
Name | Version |
---|---|
hcloud | ~> 1.49 |
Resources
Name | Type |
---|---|
hcloud_firewall.k3s | resource |
hcloud_network.network | resource |
hcloud_network_subnet.load_balancers | resource |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
environment | Environment/stage for the resources (prod, dev, staging) | string |
n/a | yes |
labels | additional labels for all created resources | map(string) |
{} |
no |
load_balancers_subnet_cidr | CIDR for the loadbalancer subnet | string |
"10.0.2.0/24" |
no |
location | Hetzner location for created resources (nbg1, fsn1, …) | string |
"nbg1" |
no |
name | Name for the K3S cluster associated resources | string |
n/a | yes |
network_cidr | CIDR for the private network | string |
"10.0.0.0/8" |
no |
network_zone | Hetzner network zone for network resources (eu-central, us-east, us-west) | string |
"eu-central" |
no |
Outputs
Name | Description |
---|---|
network_id | Hetzner resource id of the network |