aboutsummaryrefslogtreecommitdiff
path: root/terraform/dns
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-10-23 14:41:22 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2023-10-23 14:41:22 +0200
commit3538a96392087c84af955772047b070fced8fccc (patch)
tree35e4b60de30ef93382fdc533a387c9a9e493d9a4 /terraform/dns
parentf2a08300e11bc6040291ec12d4b78070f4bb94a0 (diff)
downloadinfra-3538a96392087c84af955772047b070fced8fccc.tar.gz
infra-3538a96392087c84af955772047b070fced8fccc.tar.bz2
infra-3538a96392087c84af955772047b070fced8fccc.tar.xz
infra-3538a96392087c84af955772047b070fced8fccc.zip
grafana
Diffstat (limited to 'terraform/dns')
-rw-r--r--terraform/dns/vpn-cname.tf7
-rw-r--r--terraform/dns/vpn.tf2
2 files changed, 8 insertions, 1 deletions
diff --git a/terraform/dns/vpn-cname.tf b/terraform/dns/vpn-cname.tf
index 5fc0b49..48dbbda 100644
--- a/terraform/dns/vpn-cname.tf
+++ b/terraform/dns/vpn-cname.tf
@@ -4,3 +4,10 @@ resource "linode_domain_record" "vpn-unifi" {
record_type = "CNAME"
target = "${linode_domain_record.vpn-conflatorio.name}.trygvis.io"
}
+
+resource "linode_domain_record" "vpn-grafana" {
+ domain_id = linode_domain.root.id
+ name = "grafana.vpn"
+ record_type = "CNAME"
+ target = "${linode_domain_record.vpn-conflatorio.name}.trygvis.io"
+}
diff --git a/terraform/dns/vpn.tf b/terraform/dns/vpn.tf
index 5ced457..4ed030b 100644
--- a/terraform/dns/vpn.tf
+++ b/terraform/dns/vpn.tf
@@ -15,7 +15,7 @@ resource "linode_domain_record" "vpn-conflatorio" {
domain_id = linode_domain.root.id
name = "conflatorio.vpn"
record_type = "AAAA"
- target = "fdf3:aad9:a885:0b3a::3"
+ target = "fdf3:aad9:a885:77dd::2"
}
resource "linode_domain_record" "vpn-arius" {
domain_id = linode_domain.root.id