fix: minor things

main
Ricard Illa 2023-06-06 17:13:59 +02:00
parent 8f6837c5f2
commit e62c81897e
2 changed files with 5 additions and 5 deletions

View File

@ -55,8 +55,8 @@ resource "hetznerdns_record" "mx" {
}
MX = {
type = "MX"
name = var.domain,
value = format("0 mail.%s", var.domain) # handle MX priority 0
name = "@",
value = "0 mail" # handle MX priority 0
}
}
}
@ -79,8 +79,8 @@ resource "hetznerdns_record" "mx2" {
}
MX = {
type = "MX"
name = var.domain
value = format("5 mx2.%s", var.domain) # handle MX priority 5
name = "@"
value = "5 mx2" # handle MX priority 5
}
}
}

View File

@ -1,6 +1,6 @@
pg_user := "terraform"
# pg_host := "pg.monotremata.xyz"
pg_host := "narwhal"
pg_host := "pg.monotremata.xyz"
pg_db := "terraform_backend"
pg_port := "5432"