infrastructure/terraform/sys_domains.tf

60 lines
1.2 KiB
Terraform
Raw Permalink Normal View History

2024-09-14 21:24:12 +01:00
resource "gandi_livedns_record" "sys_domain_casey" {
zone = gandi_livedns_domain.theorangeonenet.id
name = "casey.sys"
type = "A"
ttl = 3600
values = [
linode_instance.casey.ip_address
]
2022-01-19 08:29:56 +00:00
}
2024-09-14 21:24:12 +01:00
resource "gandi_livedns_record" "sys_domain_casey_v6" {
zone = gandi_livedns_domain.theorangeonenet.id
name = "casey.sys"
type = "AAAA"
ttl = 3600
values = [
split("/", linode_instance.casey.ipv6)[0]
]
2022-01-19 08:29:56 +00:00
}
2024-09-14 21:24:12 +01:00
resource "gandi_livedns_record" "sys_domain_walker" {
zone = gandi_livedns_domain.theorangeonenet.id
name = "walker.sys"
type = "A"
ttl = 3600
values = [
hcloud_server.walker.ipv4_address
]
2023-04-23 13:56:44 +01:00
}
2024-09-14 21:24:12 +01:00
resource "gandi_livedns_record" "sys_domain_walker_v6" {
zone = gandi_livedns_domain.theorangeonenet.id
name = "walker.sys"
type = "AAAA"
ttl = 3600
values = [
hcloud_server.walker.ipv6_address
]
2023-04-23 13:56:44 +01:00
}
2023-12-31 11:32:06 +00:00
2024-09-14 21:24:12 +01:00
resource "gandi_livedns_record" "sys_domain_pve" {
zone = gandi_livedns_domain.theorangeonenet.id
name = "pve.sys"
type = "A"
ttl = 3600
values = [
linode_instance.casey.ip_address
]
2023-12-31 11:32:06 +00:00
}
2024-09-14 21:24:12 +01:00
resource "gandi_livedns_record" "sys_domain_pve_private" {
zone = gandi_livedns_domain.theorangeonenet.id
name = "pve-private.sys"
type = "AAAA"
ttl = 3600
values = [
local.private_ipv6_marker
]
}