infrastructure/terraform/0rng.one.tf

44 lines
874 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_git" {
zone = gandi_livedns_domain.orngone.id
name = "git"
type = "CNAME"
ttl = 3600
values = [
cloudflare_record.theorangeonenet_git.hostname
]
2020-03-20 22:02:37 +00:00
}
2020-03-20 22:29:43 +00:00
2023-04-23 20:26:11 +01:00
resource "gandi_livedns_record" "orngone_who" {
zone = gandi_livedns_domain.orngone.id
name = "who"
type = "CNAME"
ttl = 3600
values = [
cloudflare_record.theorangeonenet_whoami.hostname
]
}
2020-05-08 21:45:27 +01:00
2023-04-23 20:26:11 +01:00
resource "gandi_livedns_record" "orngone_img" {
zone = gandi_livedns_domain.orngone.id
name = "img"
type = "CNAME"
ttl = 3600
values = [
cloudflare_record.theorangeonenet_img.hostname
]
2020-05-08 21:45:27 +01:00
}
2021-01-22 21:29:27 +00:00
2023-04-23 20:26:11 +01:00
resource "gandi_livedns_record" "orngone_apex" {
zone = gandi_livedns_domain.orngone.id
name = "@"
type = "A"
ttl = 3600
values = [
linode_instance.casey.ip_address
]
2021-01-22 21:29:27 +00:00
}