infrastructure/terraform/0rng.one.tf

24 lines
491 B
Terraform
Raw 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 = [
2024-09-14 21:24:12 +01:00
gandi_livedns_record.sys_domain_pve.href
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\""
]
}