aboutsummaryrefslogtreecommitdiff
path: root/terraform
diff options
context:
space:
mode:
Diffstat (limited to 'terraform')
-rw-r--r--terraform/dns/dn42.tf28
-rw-r--r--terraform/ipam6/ipam6.tf52
2 files changed, 58 insertions, 22 deletions
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 52a2628..2390d5d 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -7,13 +7,6 @@ resource "linode_domain_record" "dn42-conflatorio" {
target = "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
}
-resource "linode_domain_record" "dn42-conflatorio-ix" {
- domain_id = linode_domain.root.id
- name = "conflatorio-ix.dn42"
- record_type = "AAAA"
- target = "fdb1:4242:3538:2001::ffff"
-}
-
resource "linode_domain_record" "dn42-coregonus-ix" {
domain_id = linode_domain.root.id
name = "coregonus-ix.dn42"
@@ -28,6 +21,13 @@ resource "linode_domain_record" "dn42-danneri" {
target = "fdb1:4242:3538:2005:9422:d355:95b7:f170"
}
+resource "linode_domain_record" "dn42-hash" {
+ domain_id = linode_domain.root.id
+ name = "hash.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2009::ffff"
+}
+
resource "linode_domain_record" "dn42-knot" {
domain_id = linode_domain.root.id
name = "knot.dn42"
@@ -48,3 +48,17 @@ resource "linode_domain_record" "dn42-lhn2pi" {
record_type = "AAAA"
target = "fdb1:4242:3538:2008::ffff"
}
+
+resource "linode_domain_record" "dn42-node1" {
+ domain_id = linode_domain.root.id
+ name = "node1.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2002::"
+}
+
+resource "linode_domain_record" "dn42-node2" {
+ domain_id = linode_domain.root.id
+ name = "node2.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2003::"
+}
diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf
index 88f8181..a41a6be 100644
--- a/terraform/ipam6/ipam6.tf
+++ b/terraform/ipam6/ipam6.tf
@@ -14,16 +14,11 @@ output "networks" {
hosts = {
}
}
- conflatorio_dn42 = {
- description = "Internal network on host"
- range = "fdb1:4242:3538:2001::/64"
- address = "fdb1:4242:3538:2001::"
- prefix = "64"
+ unused_2001 = {
+ range = "fdb1:4242:3538:2001::/64"
+ address = "fdb1:4242:3538:2001::"
+ prefix = "64"
hosts = {
- conflatorio = {
- address : "fdb1:4242:3538:2001::ffff"
- prefix : "64"
- }
}
}
node1_dn42 = {
@@ -31,6 +26,10 @@ output "networks" {
address = "fdb1:4242:3538:2002::"
prefix = "64"
hosts = {
+ node1 = {
+ address : "fdb1:4242:3538:2002::"
+ prefix : "64"
+ }
}
}
node2_dn42 = {
@@ -38,6 +37,10 @@ output "networks" {
address = "fdb1:4242:3538:2003::"
prefix = "64"
hosts = {
+ node2 = {
+ address : "fdb1:4242:3538:2003::"
+ prefix : "64"
+ }
}
}
knot_dn42 = {
@@ -84,10 +87,10 @@ output "networks" {
}
}
}
- conflatorio_dn42_2 = {
- range = "fdb1:4242:3538:2007:1001::/112"
- address = "fdb1:4242:3538:2007:1001::"
- prefix = "112"
+ unused_2007 = {
+ range = "fdb1:4242:3538:2007::/64"
+ address = "fdb1:4242:3538:2007::"
+ prefix = "64"
hosts = {
}
}
@@ -106,6 +109,17 @@ output "networks" {
}
}
}
+ hash_dn42 = {
+ range = "fdb1:4242:3538:2009::/64"
+ address = "fdb1:4242:3538:2009::"
+ prefix = "64"
+ hosts = {
+ hash = {
+ address : "fdb1:4242:3538:2009::ffff"
+ prefix : "64"
+ }
+ }
+ }
dn42 = {
range = "fd00::/8"
address = "fd00::"
@@ -118,8 +132,12 @@ output "networks" {
output "hosts" {
value = {
- conflatorio = {
- address : "fdb1:4242:3538:2001::ffff"
+ node1 = {
+ address : "fdb1:4242:3538:2002::"
+ prefix : "64"
+ }
+ node2 = {
+ address : "fdb1:4242:3538:2003::"
prefix : "64"
}
knot = {
@@ -146,5 +164,9 @@ output "hosts" {
address : "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
prefix : "128"
}
+ hash = {
+ address : "fdb1:4242:3538:2009::ffff"
+ prefix : "64"
+ }
}
}