mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2026-03-28 14:26:09 +01:00
Migrate DNS to official hcloud provider and fix mail IPv6 deliverability
Switched DNS management from timohirt/hetznerdns to official hetznercloud/hcloud RRSet resources, imported existing records, and removed legacy provider config. Also enabled mail.banditlair.com AAAA with matching rDNS to satisfy Gmail IPv6 sender checks
This commit is contained in:
parent
a6571d5f39
commit
02e8e936c2
2 changed files with 176 additions and 211 deletions
|
|
@ -10,29 +10,11 @@ terraform {
|
|||
required_providers {
|
||||
hcloud = {
|
||||
source = "hetznercloud/hcloud"
|
||||
version = "~> 1.49"
|
||||
version = "~> 1.60"
|
||||
}
|
||||
null = {
|
||||
source = "hashicorp/null"
|
||||
version = "~> 3.2"
|
||||
}
|
||||
hetznerdns = {
|
||||
source = "timohirt/hetznerdns"
|
||||
version = ">= 2.2.0"
|
||||
}
|
||||
|
||||
sops = {
|
||||
source = "carlpett/sops"
|
||||
version = "~> 0.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data "sops_file" "secrets" {
|
||||
source_file = "../secrets.enc.yml"
|
||||
}
|
||||
|
||||
|
||||
provider "hetznerdns" {
|
||||
apitoken = data.sops_file.secrets.data["hcloud.dns_token"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue