terraform: fix MX DNS resource

This commit is contained in:
Gabriel Arazas 2024-11-18 17:59:26 +08:00
parent 080d964f31
commit 0ca614a8a0
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -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"