Correctly format domains for Gandi
All checks were successful
/ ansible (push) Successful in 1m59s
/ terraform (push) Successful in 44s

Gandi requires CNAMEs end with `.`, because it doesn't handle that magically.
This commit is contained in:
Jake Howard 2023-07-17 14:17:17 +01:00
parent 9e7ccb81ec
commit 9a65bc74a3
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -8,7 +8,7 @@ resource "gandi_livedns_record" "orngone_git" {
type = "CNAME"
ttl = 3600
values = [
cloudflare_record.theorangeonenet_git.hostname
"${cloudflare_record.theorangeonenet_git.hostname}."
]
}
@ -18,7 +18,7 @@ resource "gandi_livedns_record" "orngone_who" {
type = "CNAME"
ttl = 3600
values = [
cloudflare_record.theorangeonenet_whoami.hostname
"${cloudflare_record.theorangeonenet_whoami.hostname}."
]
}
@ -28,7 +28,7 @@ resource "gandi_livedns_record" "orngone_img" {
type = "CNAME"
ttl = 3600
values = [
cloudflare_record.theorangeonenet_img.hostname
"${cloudflare_record.theorangeonenet_img.hostname}."
]
}