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 = { MX = {
type = "MX" type = "MX"
name = var.domain, name = "@",
value = format("0 mail.%s", var.domain) # handle MX priority 0 value = "0 mail" # handle MX priority 0
} }
} }
} }
@ -79,8 +79,8 @@ resource "hetznerdns_record" "mx2" {
} }
MX = { MX = {
type = "MX" type = "MX"
name = var.domain name = "@"
value = format("5 mx2.%s", var.domain) # handle MX priority 5 value = "5 mx2" # handle MX priority 5
} }
} }
} }

View File

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