infrastructure/terraform/0rng.one.tf

35 lines
700 B
Terraform
Raw Permalink Normal View History

2023-04-23 20:26:11 +01:00
resource "gandi_livedns_domain" "orngone" {
name = "0rng.one"
2020-03-20 22:02:37 +00:00
}
2023-04-23 20:26:11 +01:00
resource "gandi_livedns_record" "orngone_apex" {
zone = gandi_livedns_domain.orngone.id
name = "@"
type = "ALIAS" # Gandi doesn't support CNAME-flattening
2023-04-23 20:26:11 +01:00
ttl = 3600
values = [
cloudflare_record.sys_domain_pve.hostname
2023-04-23 20:26:11 +01:00
]
2021-01-22 21:29:27 +00:00
}
2023-05-07 18:11:23 +01:00
resource "gandi_livedns_record" "orngone_caa" {
zone = gandi_livedns_domain.orngone.id
name = "@"
type = "CAA"
ttl = 3600
values = [
"0 issue \"letsencrypt.org\""
]
}
2024-09-22 15:01:55 +01:00
resource "gandi_livedns_record" "orngone_who" {
zone = gandi_livedns_domain.orngone.id
name = "who"
type = "CNAME"
ttl = 3600
values = [
"${cloudflare_record.sys_domain_pve.hostname}."
]
}