infrastructure/terraform/0rng.one.tf
Jake Howard 37b8c48a77
All checks were successful
/ terraform (push) Successful in 1m24s
/ ansible (push) Successful in 2m47s
Remove legacy short domains
I never used them, and the certificate renewal didn't work anyway.
2023-10-02 09:37:05 +01:00

23 lines
438 B
HCL

resource "gandi_livedns_domain" "orngone" {
name = "0rng.one"
}
resource "gandi_livedns_record" "orngone_apex" {
zone = gandi_livedns_domain.orngone.id
name = "@"
type = "A"
ttl = 3600
values = [
linode_instance.casey.ip_address
]
}
resource "gandi_livedns_record" "orngone_caa" {
zone = gandi_livedns_domain.orngone.id
name = "@"
type = "CAA"
ttl = 3600
values = [
"0 issue \"letsencrypt.org\""
]
}