Terraform provider for managing zones and records in the Hetzner DNS service.
Add into your Terraform configuration this code:
terraform {
required_providers {
hdns = {
source = "alxrem/hdns"
}
}
}
and run terraform init
- Download archive with the latest version of provider for your operating system from Github releases page.
- Unpack provider to
$HOME/.terraform.d/plugins
, i.e.unzip terraform-provider-hdns_X.Y.Z_linux_amd64.zip terraform-provider-hdns_* -d $HOME/.terraform.d/plugins/
- Init your terraform project
terraform init
Read the documentation on Terraform Registry site.