ip -> ipv4...

...explictly label current ip values as ipv4, in order to more
easily add ipv6 support later on.
This commit is contained in:
phaer
2022-02-26 12:26:14 +01:00
parent 52b3d9b82c
commit 38fc145ad0
10 changed files with 30 additions and 31 deletions

View File

@@ -12,8 +12,8 @@ module "control_planes" {
placement_group_id = hcloud_placement_group.k3s.id
location = var.location
server_type = var.control_plane_server_type
subnet_id = hcloud_network_subnet.subnet["control_plane"].id
private_ip = cidrhost(var.network_subnets["control_plane"], count.index + 1)
ipv4_subnet_id = hcloud_network_subnet.subnet["control_plane"].id
private_ipv4 = cidrhost(var.network_ipv4_subnets["control_plane"], count.index + 1)
labels = {
"provisioner" = "terraform",