diff --git a/README.md b/README.md index 37d4e9d..ae9dedd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# Terraform Provider for Hetzner DNS +# Terraform Provider for Hetzner DNS (Deprecated) + +> [!CAUTION] +> This provider is deprecated as of 10 Nov 2025. +> Please migrate to the official [Hetzner Cloud Terraform Provider](https://registry.terraform.io/providers/hetznercloud/hcloud/latest) +> which now also supports managing DNS records since version [1.54.0](https://github.com/hetznercloud/terraform-provider-hcloud/releases/tag/v1.54.0). [![Terraform](https://img.shields.io/badge/Terraform-844FBA.svg?style=for-the-badge&logo=Terraform&logoColor=white)](https://registry.terraform.io/providers/germanbrew/hetznerdns/latest) [![OpenTofu](https://img.shields.io/badge/OpenTofu-FFDA18.svg?style=for-the-badge&logo=OpenTofu&logoColor=black)](https://search.opentofu.org/provider/germanbrew/hetznerdns/latest) diff --git a/docs/index.md b/docs/index.md index d8e5824..f3d004c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,11 +3,13 @@ page_title: "hetznerdns Provider" description: |- This providers helps you automate management of DNS zones and records at Hetzner DNS. + WARNING: This provider is deprecated as of 10 Nov 2025 with the release of the hcloud Console DNS, please migrate to the official Hetzner hcloud provider --- # hetznerdns Provider -This providers helps you automate management of DNS zones and records at Hetzner DNS. +This providers helps you automate management of DNS zones and records at Hetzner DNS. +WARNING: This provider is deprecated as of 10 Nov 2025 with the release of the hcloud Console DNS, please migrate to the official Hetzner hcloud provider ## Example Usage diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 122a972..491f822 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -52,7 +52,9 @@ func (p *hetznerDNSProvider) Metadata(_ context.Context, _ provider.MetadataRequ func (p *hetznerDNSProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse) { resp.Schema = schema.Schema{ - Description: "This providers helps you automate management of DNS zones and records at Hetzner DNS.", + Description: "This providers helps you automate management of DNS zones and records at Hetzner DNS. \n" + + "WARNING: This provider is deprecated as of 10 Nov 2025 with the release of the hcloud Console DNS, " + + "please migrate to the official Hetzner hcloud provider", Attributes: map[string]schema.Attribute{ "api_token": schema.StringAttribute{ Description: "The Hetzner DNS API token. You can pass it using the env variable `HETZNER_DNS_TOKEN` as well. " +