Hetzner's legacy DNS console (dns.hetzner.com) and its old DNS API have
been permanently shut down. All DNS zone management has been migrated
entirely to the main Hetzner Cloud Console.
Since I hadn't made any changes in the last couple of months I was
simply not affected by that change until very recently.
So, this change drops the 3rd-party provider I had used previously and
now applies the official `hcloud`-provider.
The migrations was a bit of a hassle, because I had to manually remove
the obsolete references from the Tofu-state. Then I checked the migrated
sources and decided to simply drop the migrated DNS-zones altogether and
simply run `tofu apply` once more.
Hetzner has changed it's API and removed the field `datacenter` from the
primary IPs in favor of `location`. This change reflex this and adjusts
the configuration accordingly. Note, that this change didn't require any
manual state changes. Instead I applied the former plan with the newest
provider once. Hence the provider already treated the fields correctly I
only had to adjust the configuration.
Chapeau Hetzner for this good transition!
See-also: 14da745f Update tofu-resources to their latest versions
Reference: https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters
This change is huge, therefore I only sum up the most important changes:
* Improve spelling
* Reduce ambiguity
* Use OpenTofu instead of Terraform
* Document missing tags for Ansible
* Provide example-configuration
* Fix confusion between dotenv and direnv, I use direnv!
* Add section about required software
* Many spelling mistakes