Files
terraform-cloudflare-dns-zo…/records_txt.tf
Hubert Cornet fc1b471492
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 18s
Actualiser records_txt.tf
2025-08-05 14:55:11 +02:00

66 lines
1.9 KiB
HCL

resource "cloudflare_dns_record" "txt-amazonses" {
zone_id = var.cloudflare_zone_id
comment = "Domain verification record O"
content = "\"xxxxxxxx\""
name = "_amazonses"
proxied = false
tags = []
ttl = 300
type = "TXT"
}
resource "cloudflare_dns_record" "txt-dmarc" {
zone_id = var.cloudflare_zone_id
comment = "Domain verification record P"
# content = "\"v=DMARC1; p=none; pct=100; rua=mailto:dmarc@tips-of-mine.org; sp=none; aspf=r;\""
content = "\"v=DMARC1; p=none\""
name = "_dmarc"
proxied = false
tags = []
ttl = 300
type = "TXT"
}
resource "cloudflare_dns_record" "txt-mandrill-domainkey" {
zone_id = var.cloudflare_zone_id
comment = "Domain verification record R"
content = "\"v=DKIM1; k=rsa; p=xxxxxxxx;\""
name = "mandrill._domainkey"
proxied = false
tags = []
ttl = 300
type = "TXT"
}
resource "cloudflare_dns_record" "txt-mail-domainkey" {
zone_id = var.cloudflare_zone_id
comment = "Domain verification record Q"
content = "\"v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxR3mgKVD2xC8EbsgvrTZZJLvBFdPPRFPQIyMplnY6mC6pi7Jn4b/FFAggWRHEN3gh50BheYePa8DItTXLPl9WemSCL9TUsbM3S9p19qx5iuT7hFLGl2C54Ps0z7Jh5XIlxUHKIl22vNlACPG548BG4N1qz1lYNHlSRmUgBUJsCQIDAQAB\""
name = "mail._domainkey"
proxied = false
tags = []
ttl = 3600
type = "TXT"
}
resource "cloudflare_dns_record" "txt-tips-of-mine" {
zone_id = var.cloudflare_zone_id
comment = "Domain verification record S"
content = "\"v=spf1 a mx -all\""
name = "@"
proxied = false
tags = []
ttl = 3600
type = "TXT"
}
resource "cloudflare_dns_record" "txt-bimi" {
zone_id = var.cloudflare_zone_id
comment = "Domain verification record Y"
content = "\"v=BIMI1;l=https://bimi.tips-of-mine.fr/tips-of-mine.svg;\""
name = "default._bimi"
proxied = false
tags = []
ttl = 3600
type = "TXT"
}