diff options
| author | Trygve Laugstøl <trygvis@inamo.no> | 2025-11-29 21:30:15 +0100 |
|---|---|---|
| committer | Trygve Laugstøl <trygvis@inamo.no> | 2025-12-19 13:47:25 +0100 |
| commit | 06df320b774a7bca6af8915364e5664a461841be (patch) | |
| tree | b12b7fd253f9d8da17211b2860aa483ee5f6c3a0 /terraform | |
| parent | c990f4ccc9c9b63b2e27c1948c2a2f6dc07e7fe2 (diff) | |
| download | infra-06df320b774a7bca6af8915364e5664a461841be.tar.gz infra-06df320b774a7bca6af8915364e5664a461841be.tar.bz2 infra-06df320b774a7bca6af8915364e5664a461841be.tar.xz infra-06df320b774a7bca6af8915364e5664a461841be.zip | |
nextcloud
Diffstat (limited to 'terraform')
| -rw-r--r-- | terraform/dns/dn42.tf | 7 | ||||
| -rw-r--r-- | terraform/dns/trygvis.tf | 16 | ||||
| -rw-r--r-- | terraform/ipam6/ipam6.tf | 8 |
3 files changed, 30 insertions, 1 deletions
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf index 3527627..8798fc5 100644 --- a/terraform/dns/dn42.tf +++ b/terraform/dns/dn42.tf @@ -98,6 +98,13 @@ resource "linode_domain_record" "dn42-netbox" { target = "fdb1:4242:3538:2006:be24:11ff:febb:5c7f" } +resource "linode_domain_record" "dn42-nextcloud" { + domain_id = linode_domain.root.id + name = "nextcloud.dn42" + record_type = "AAAA" + target = "fdb1:4242:3538:2006:be24:11ff:fe56:770" +} + resource "linode_domain_record" "dn42-node1" { domain_id = linode_domain.root.id name = "node1.dn42" diff --git a/terraform/dns/trygvis.tf b/terraform/dns/trygvis.tf index a19efcf..9187716 100644 --- a/terraform/dns/trygvis.tf +++ b/terraform/dns/trygvis.tf @@ -191,7 +191,7 @@ resource "linode_domain_record" "nextcloud" { domain_id = linode_domain.root.id name = "nextcloud" record_type = "CNAME" - target = "vs.trygvis.io" + target = "knot.inamo.no" } resource "linode_domain_record" "grafana" { @@ -214,3 +214,17 @@ resource "linode_domain_record" "owncloud" { record_type = "CNAME" target = "vs.trygvis.io" } + +resource "linode_domain_record" "vs" { + domain_id = linode_domain.root.id + name = "vs" + record_type = "A" + target = "176.58.112.84" +} + +resource "linode_domain_record" "vs-aaaa" { + domain_id = linode_domain.root.id + name = "vs" + record_type = "AAAA" + target = "2a01:7e00:0000:0000:f03c:91ff:feae:93a3" +} diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf index 6d67854..60eb602 100644 --- a/terraform/ipam6/ipam6.tf +++ b/terraform/ipam6/ipam6.tf @@ -86,6 +86,10 @@ output "networks" { address : "fdb1:4242:3538:2006:2f0:cbff:fefe:d98c" prefix : "64" } + nextcloud = { + address : "fdb1:4242:3538:2006:be24:11ff:fe56:770" + prefix : "64" + } } } hash_dn42 = { @@ -210,6 +214,10 @@ output "hosts" { address : "fdb1:4242:3538:2006:2f0:cbff:fefe:d98c" prefix : "64" } + nextcloud = { + address : "fdb1:4242:3538:2006:be24:11ff:fe56:770" + prefix : "64" + } hash = { address : "fdb1:4242:3538:2007::ffff" prefix : "128" |
