From 0ca614a8a09876690aff74d35edc0b8115a573e7 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 18 Nov 2024 17:59:26 +0800 Subject: [PATCH] terraform: fix MX DNS resource --- terraform/dns.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/dns.tf b/terraform/dns.tf index 68122566..3ac0d277 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -36,7 +36,7 @@ resource "hetznerdns_record" "personal_wiki" { # Mail resources. resource "hetznerdns_record" "mail_mx" { - for_each = toset([ "10 heracles.mxrouting.net", "20 heracles-relay.mxrouting.net." ]) + for_each = toset([ "10 heracles.mxrouting.net.", "20 heracles-relay.mxrouting.net." ]) zone_id = data.hetznerdns_zone.main.id name = "@" type = "MX"