From 88b018c4fef3ca2978d760960c6e90fb6d96686b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 2 Nov 2024 19:34:10 +0100 Subject: Adding host unifi --- terraform/dns/dn42.tf | 7 +++++++ terraform/ipam6/ipam6.tf | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) (limited to 'terraform') diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf index 9363b60..35bc26e 100644 --- a/terraform/dns/dn42.tf +++ b/terraform/dns/dn42.tf @@ -62,3 +62,10 @@ resource "linode_domain_record" "dn42-node2" { record_type = "AAAA" target = "fdb1:4242:3538:2003::ffff" } + +resource "linode_domain_record" "dn42-unifi" { + domain_id = linode_domain.root.id + name = "unifi.dn42" + record_type = "AAAA" + target = "fdb1:4242:3538:2008:5054:ff:fe4d:96c" +} diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf index 62fd1d1..0cdd754 100644 --- a/terraform/ipam6/ipam6.tf +++ b/terraform/ipam6/ipam6.tf @@ -118,6 +118,38 @@ output "networks" { address : "fdb1:4242:3538:2008:9422:d355:95b7:f170" prefix : "128" } + unifi = { + address : "fdb1:4242:3538:2008:5054:ff:fe4d:96c" + prefix : "128" + } + } + } + danneri_cluster = { + range = "fdb1:4242:3538:3009::/112" + address = "fdb1:4242:3538:3009::" + prefix = "112" + hosts = { + } + } + danneri_service = { + range = "fdb1:4242:3538:300a::/100" + address = "fdb1:4242:3538:300a::" + prefix = "100" + hosts = { + } + } + k8s = { + range = "fdb1:4242:3538:3000::/52" + address = "fdb1:4242:3538:3000::" + prefix = "52" + hosts = { + } + } + danneri_service2 = { + range = "fdb1:4242:3538:300a::/112" + address = "fdb1:4242:3538:300a::" + prefix = "112" + hosts = { } } dn42 = { @@ -168,5 +200,9 @@ output "hosts" { address : "fdb1:4242:3538:2008:9422:d355:95b7:f170" prefix : "128" } + unifi = { + address : "fdb1:4242:3538:2008:5054:ff:fe4d:96c" + prefix : "128" + } } } -- cgit v1.2.3