aboutsummaryrefslogtreecommitdiff
path: root/terraform
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-10-19 18:55:36 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-10-19 18:55:36 +0200
commit35b3bae52693f5f5ed21ecf3cfeb68cc2047aba0 (patch)
tree5f16ba62d9e5a03e9cf56c4e85b60bbf7f95f38a /terraform
parent6e8565e4694b55de9a30ce91f991bcc0bb0bd0bf (diff)
downloadinfra-35b3bae52693f5f5ed21ecf3cfeb68cc2047aba0.tar.gz
infra-35b3bae52693f5f5ed21ecf3cfeb68cc2047aba0.tar.bz2
infra-35b3bae52693f5f5ed21ecf3cfeb68cc2047aba0.tar.xz
infra-35b3bae52693f5f5ed21ecf3cfeb68cc2047aba0.zip
ipam: Fixing coregonus
Diffstat (limited to 'terraform')
-rw-r--r--terraform/dns/dn42.tf8
-rw-r--r--terraform/ipam6/ipam6.tf36
2 files changed, 22 insertions, 22 deletions
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 857b165..9363b60 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -7,9 +7,9 @@ resource "linode_domain_record" "dn42-conflatorio" {
target = "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
}
-resource "linode_domain_record" "dn42-coregonus-ix" {
+resource "linode_domain_record" "dn42-coregonus" {
domain_id = linode_domain.root.id
- name = "coregonus-ix.dn42"
+ name = "coregonus.dn42"
record_type = "AAAA"
target = "fdb1:4242:3538:2005::ffff"
}
@@ -53,12 +53,12 @@ resource "linode_domain_record" "dn42-node1" {
domain_id = linode_domain.root.id
name = "node1.dn42"
record_type = "AAAA"
- target = "fdb1:4242:3538:2002::"
+ target = "fdb1:4242:3538:2002::ffff"
}
resource "linode_domain_record" "dn42-node2" {
domain_id = linode_domain.root.id
name = "node2.dn42"
record_type = "AAAA"
- target = "fdb1:4242:3538:2003::"
+ target = "fdb1:4242:3538:2003::ffff"
}
diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf
index b6cb36f..62fd1d1 100644
--- a/terraform/ipam6/ipam6.tf
+++ b/terraform/ipam6/ipam6.tf
@@ -27,8 +27,8 @@ output "networks" {
prefix = "64"
hosts = {
node1 = {
- address : "fdb1:4242:3538:2002::"
- prefix : "64"
+ address : "fdb1:4242:3538:2002::ffff"
+ prefix : "128"
}
}
}
@@ -38,8 +38,8 @@ output "networks" {
prefix = "64"
hosts = {
node2 = {
- address : "fdb1:4242:3538:2003::"
- prefix : "64"
+ address : "fdb1:4242:3538:2003::ffff"
+ prefix : "128"
}
}
}
@@ -50,7 +50,7 @@ output "networks" {
hosts = {
knot = {
address : "fdb1:4242:3538:2004::ffff"
- prefix : "64"
+ prefix : "128"
}
}
}
@@ -59,9 +59,9 @@ output "networks" {
address = "fdb1:4242:3538:2005::"
prefix = "64"
hosts = {
- coregonus-ix = {
+ coregonus = {
address : "fdb1:4242:3538:2005::ffff"
- prefix : "64"
+ prefix : "128"
}
}
}
@@ -79,7 +79,7 @@ output "networks" {
hosts = {
kv24ix = {
address : "fdb1:4242:3538:2006::ffff"
- prefix : "64"
+ prefix : "128"
}
}
}
@@ -108,7 +108,7 @@ output "networks" {
hosts = {
lhn2pi = {
address : "fdb1:4242:3538:2008::ffff"
- prefix : "64"
+ prefix : "128"
}
conflatorio = {
address : "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
@@ -133,24 +133,24 @@ output "networks" {
output "hosts" {
value = {
node1 = {
- address : "fdb1:4242:3538:2002::"
- prefix : "64"
+ address : "fdb1:4242:3538:2002::ffff"
+ prefix : "128"
}
node2 = {
- address : "fdb1:4242:3538:2003::"
- prefix : "64"
+ address : "fdb1:4242:3538:2003::ffff"
+ prefix : "128"
}
knot = {
address : "fdb1:4242:3538:2004::ffff"
- prefix : "64"
+ prefix : "128"
}
- coregonus-ix = {
+ coregonus = {
address : "fdb1:4242:3538:2005::ffff"
- prefix : "64"
+ prefix : "128"
}
kv24ix = {
address : "fdb1:4242:3538:2006::ffff"
- prefix : "64"
+ prefix : "128"
}
hash = {
address : "fdb1:4242:3538:2007::ffff"
@@ -158,7 +158,7 @@ output "hosts" {
}
lhn2pi = {
address : "fdb1:4242:3538:2008::ffff"
- prefix : "64"
+ prefix : "128"
}
conflatorio = {
address : "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"