Use data sources for domains
They'll already exist
This commit is contained in:
parent
e75a0cfcd4
commit
8b097addeb
3 changed files with 73 additions and 73 deletions
|
@ -1,9 +1,9 @@
|
|||
resource "gandi_livedns_domain" "jakehowardtech" {
|
||||
data "gandi_livedns_domain" "jakehowardtech" {
|
||||
name = "jakehoward.tech"
|
||||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_mx" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "@"
|
||||
type = "MX"
|
||||
ttl = 3600
|
||||
|
@ -14,7 +14,7 @@ resource "gandi_livedns_record" "jakehowardtech_mx" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_spf" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "@"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -24,7 +24,7 @@ resource "gandi_livedns_record" "jakehowardtech_spf" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_dkim_fm1" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "fm1._domainkey"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -34,7 +34,7 @@ resource "gandi_livedns_record" "jakehowardtech_dkim_fm1" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_dkim_fm2" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "fm2._domainkey"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -44,7 +44,7 @@ resource "gandi_livedns_record" "jakehowardtech_dkim_fm2" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_dkim_fm3" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "fm3._domainkey"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -54,7 +54,7 @@ resource "gandi_livedns_record" "jakehowardtech_dkim_fm3" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_dmarc" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "_dmarc"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -64,7 +64,7 @@ resource "gandi_livedns_record" "jakehowardtech_dmarc" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_wallabag" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "wallabag"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -74,7 +74,7 @@ resource "gandi_livedns_record" "jakehowardtech_wallabag" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_ttrss" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "tt-rss"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -84,7 +84,7 @@ resource "gandi_livedns_record" "jakehowardtech_ttrss" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_speed" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "speed"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -94,7 +94,7 @@ resource "gandi_livedns_record" "jakehowardtech_speed" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_quassel" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "quassel"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -104,7 +104,7 @@ resource "gandi_livedns_record" "jakehowardtech_quassel" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_media" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "media"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -114,7 +114,7 @@ resource "gandi_livedns_record" "jakehowardtech_media" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_matrix" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "matrix"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -124,7 +124,7 @@ resource "gandi_livedns_record" "jakehowardtech_matrix" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_intersect" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "intersect"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -134,7 +134,7 @@ resource "gandi_livedns_record" "jakehowardtech_intersect" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_calibre" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "calibre"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -144,7 +144,7 @@ resource "gandi_livedns_record" "jakehowardtech_calibre" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_homeassistant" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "homeassistant"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -154,7 +154,7 @@ resource "gandi_livedns_record" "jakehowardtech_homeassistant" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_grafana" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "grafana"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -164,7 +164,7 @@ resource "gandi_livedns_record" "jakehowardtech_grafana" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_vaultwarden" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "vaultwarden"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -174,7 +174,7 @@ resource "gandi_livedns_record" "jakehowardtech_vaultwarden" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_recipes" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "recipes"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -184,7 +184,7 @@ resource "gandi_livedns_record" "jakehowardtech_recipes" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_mailgun_spf" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "mg"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -194,7 +194,7 @@ resource "gandi_livedns_record" "jakehowardtech_mailgun_spf" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_mailgun_dkim" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "s1._domainkey.mg"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -204,7 +204,7 @@ resource "gandi_livedns_record" "jakehowardtech_mailgun_dkim" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_mailgun_dmarc" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "_dmarc.mg"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -214,7 +214,7 @@ resource "gandi_livedns_record" "jakehowardtech_mailgun_dmarc" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_synapse_admin" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "synapse-admin"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -224,7 +224,7 @@ resource "gandi_livedns_record" "jakehowardtech_synapse_admin" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_apex" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "@"
|
||||
type = "ALIAS"
|
||||
ttl = 3600
|
||||
|
@ -234,7 +234,7 @@ resource "gandi_livedns_record" "jakehowardtech_apex" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_collabora" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "collabora"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -244,7 +244,7 @@ resource "gandi_livedns_record" "jakehowardtech_collabora" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_tasks" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "tasks"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -254,7 +254,7 @@ resource "gandi_livedns_record" "jakehowardtech_tasks" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_auth" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "auth"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -264,7 +264,7 @@ resource "gandi_livedns_record" "jakehowardtech_auth" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_minio" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "minio"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -274,7 +274,7 @@ resource "gandi_livedns_record" "jakehowardtech_minio" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_s3" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "s3"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -284,7 +284,7 @@ resource "gandi_livedns_record" "jakehowardtech_s3" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_ntfy" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "ntfy"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -294,7 +294,7 @@ resource "gandi_livedns_record" "jakehowardtech_ntfy" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_headscale" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "headscale"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -304,7 +304,7 @@ resource "gandi_livedns_record" "jakehowardtech_headscale" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_slides" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "slides"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -314,7 +314,7 @@ resource "gandi_livedns_record" "jakehowardtech_slides" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_uptime" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "uptime"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -324,7 +324,7 @@ resource "gandi_livedns_record" "jakehowardtech_uptime" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_baby-buddy" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "baby-buddy"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -334,7 +334,7 @@ resource "gandi_livedns_record" "jakehowardtech_baby-buddy" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_immich" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "immich"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -344,7 +344,7 @@ resource "gandi_livedns_record" "jakehowardtech_immich" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_photos" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "photos"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -354,7 +354,7 @@ resource "gandi_livedns_record" "jakehowardtech_photos" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "jakehowardtech_caa" {
|
||||
zone = gandi_livedns_domain.jakehowardtech.id
|
||||
zone = data.gandi_livedns_domain.jakehowardtech.id
|
||||
name = "@"
|
||||
type = "CAA"
|
||||
ttl = 3600
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
resource "gandi_livedns_record" "sys_domain_casey" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "casey.sys"
|
||||
type = "A"
|
||||
ttl = 3600
|
||||
|
@ -9,7 +9,7 @@ resource "gandi_livedns_record" "sys_domain_casey" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "sys_domain_casey_v6" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "casey.sys"
|
||||
type = "AAAA"
|
||||
ttl = 3600
|
||||
|
@ -19,7 +19,7 @@ resource "gandi_livedns_record" "sys_domain_casey_v6" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "sys_domain_walker" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "walker.sys"
|
||||
type = "A"
|
||||
ttl = 3600
|
||||
|
@ -29,7 +29,7 @@ resource "gandi_livedns_record" "sys_domain_walker" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "sys_domain_walker_v6" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "walker.sys"
|
||||
type = "AAAA"
|
||||
ttl = 3600
|
||||
|
@ -39,7 +39,7 @@ resource "gandi_livedns_record" "sys_domain_walker_v6" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "sys_domain_pve" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "pve.sys"
|
||||
type = "A"
|
||||
ttl = 3600
|
||||
|
@ -49,7 +49,7 @@ resource "gandi_livedns_record" "sys_domain_pve" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "sys_domain_pve_private" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "pve-private.sys"
|
||||
type = "AAAA"
|
||||
ttl = 3600
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
resource "gandi_livedns_domain" "theorangeonenet" {
|
||||
data "gandi_livedns_domain" "theorangeonenet" {
|
||||
name = "theorangeone.net"
|
||||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_git" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "git"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -13,7 +13,7 @@ resource "gandi_livedns_record" "theorangeonenet_git" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_whoami" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "whoami"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -23,7 +23,7 @@ resource "gandi_livedns_record" "theorangeonenet_whoami" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_whoami_cdn" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "whoami-cdn"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -33,7 +33,7 @@ resource "gandi_livedns_record" "theorangeonenet_whoami_cdn" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_whoami_private" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "whoami-private"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -43,7 +43,7 @@ resource "gandi_livedns_record" "theorangeonenet_whoami_private" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_mx" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "@"
|
||||
type = "MX"
|
||||
ttl = 3600
|
||||
|
@ -54,7 +54,7 @@ resource "gandi_livedns_record" "theorangeonenet_mx" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_spf" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "@"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -64,7 +64,7 @@ resource "gandi_livedns_record" "theorangeonenet_spf" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_dkim_fm1" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "fm1._domainkey"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -74,7 +74,7 @@ resource "gandi_livedns_record" "theorangeonenet_dkim_fm1" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_dkim_fm2" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "fm2._domainkey"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -84,7 +84,7 @@ resource "gandi_livedns_record" "theorangeonenet_dkim_fm2" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_dkim_fm3" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "fm3._domainkey"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -94,7 +94,7 @@ resource "gandi_livedns_record" "theorangeonenet_dkim_fm3" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_dmarc" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "_dmarc"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -105,13 +105,13 @@ resource "gandi_livedns_record" "theorangeonenet_dmarc" {
|
|||
|
||||
resource "gandi_livedns_record" "theorangeonenet_dmarc_report" {
|
||||
for_each = toset([
|
||||
gandi_livedns_domain.theorangeonenet.name,
|
||||
gandi_livedns_domain.jakehowardtech.name,
|
||||
data.gandi_livedns_domain.theorangeonenet.name,
|
||||
data.gandi_livedns_domain.jakehowardtech.name,
|
||||
gandi_livedns_record.theorangeonenet_mailgun_spf.href,
|
||||
gandi_livedns_record.jakehowardtech_mailgun_spf.href,
|
||||
])
|
||||
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "${each.value}._report._dmarc"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -121,7 +121,7 @@ resource "gandi_livedns_record" "theorangeonenet_dmarc_report" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_apex" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "@"
|
||||
type = "ALIAS"
|
||||
ttl = 3600
|
||||
|
@ -131,7 +131,7 @@ resource "gandi_livedns_record" "theorangeonenet_apex" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_srv_matrix" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "_matrix._tcp"
|
||||
type = "SRV"
|
||||
ttl = 3600
|
||||
|
@ -141,7 +141,7 @@ resource "gandi_livedns_record" "theorangeonenet_srv_matrix" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_matrix" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "matrix"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -151,7 +151,7 @@ resource "gandi_livedns_record" "theorangeonenet_matrix" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_plausible" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "plausible"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -161,7 +161,7 @@ resource "gandi_livedns_record" "theorangeonenet_plausible" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_plausible_bare" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "elbisualp"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -171,7 +171,7 @@ resource "gandi_livedns_record" "theorangeonenet_plausible_bare" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_notes" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "notes"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -181,7 +181,7 @@ resource "gandi_livedns_record" "theorangeonenet_notes" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_bin" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "bin"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -191,7 +191,7 @@ resource "gandi_livedns_record" "theorangeonenet_bin" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_google_site_verification" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "@"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -201,7 +201,7 @@ resource "gandi_livedns_record" "theorangeonenet_google_site_verification" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_mailgun_spf" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "mg"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -211,7 +211,7 @@ resource "gandi_livedns_record" "theorangeonenet_mailgun_spf" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_mailgun_dkim" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "mta._domainkey.mg"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -221,7 +221,7 @@ resource "gandi_livedns_record" "theorangeonenet_mailgun_dkim" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_mailgun_dmarc" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "_dmarc.mg"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -231,7 +231,7 @@ resource "gandi_livedns_record" "theorangeonenet_mailgun_dmarc" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_mastodon" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "mastodon"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -241,7 +241,7 @@ resource "gandi_livedns_record" "theorangeonenet_mastodon" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_comentario" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "comentario"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -251,7 +251,7 @@ resource "gandi_livedns_record" "theorangeonenet_comentario" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_bsky" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "bsky"
|
||||
type = "CNAME"
|
||||
ttl = 3600
|
||||
|
@ -261,7 +261,7 @@ resource "gandi_livedns_record" "theorangeonenet_bsky" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_atproto" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "_atproto"
|
||||
type = "TXT"
|
||||
ttl = 3600
|
||||
|
@ -271,7 +271,7 @@ resource "gandi_livedns_record" "theorangeonenet_atproto" {
|
|||
}
|
||||
|
||||
resource "gandi_livedns_record" "theorangeonenet_caa" {
|
||||
zone = gandi_livedns_domain.theorangeonenet.id
|
||||
zone = data.gandi_livedns_domain.theorangeonenet.id
|
||||
name = "@"
|
||||
type = "CAA"
|
||||
ttl = 3600
|
||||
|
|
Loading…
Add table
Reference in a new issue