Skip to content

Commit 955e191

Browse files
authored
feat: DNS support is now generally available (#1247)
See https://docs.hetzner.cloud/changelog#2025-11-10-dns-ga for more details.
1 parent e6c235b commit 955e191

File tree

17 files changed

+0
-77
lines changed

17 files changed

+0
-77
lines changed

docs/data-sources/zone.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ description: |-
66
Provides details about a Hetzner Cloud Zone.
77
For Internationalized domain names (IDN), see the provider::hcloud::idna function.
88
See the Zones API documentation https://docs.hetzner.cloud/reference/cloud#zones for more details.
9-
Experimental: DNS API is in beta, breaking changes may occur within minor releases.
10-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
119
---
1210

1311
# hcloud_zone (Data Source)
@@ -18,9 +16,6 @@ For Internationalized domain names (IDN), see the `provider::hcloud::idna` funct
1816

1917
See the [Zones API documentation](https://docs.hetzner.cloud/reference/cloud#zones) for more details.
2018

21-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
22-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
23-
2419
## Example Usage
2520

2621
```terraform

docs/data-sources/zone_rrset.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ subcategory: ""
55
description: |-
66
Provides details about a Hetzner Cloud Zone Resource Record Set (RRSet).
77
See the Zone RRSets API documentation https://docs.hetzner.cloud/reference/cloud#zone-rrsets for more details.
8-
Experimental: DNS API is in beta, breaking changes may occur within minor releases.
9-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
108
---
119

1210
# hcloud_zone_rrset (Data Source)
@@ -15,9 +13,6 @@ Provides details about a Hetzner Cloud Zone Resource Record Set (RRSet).
1513

1614
See the [Zone RRSets API documentation](https://docs.hetzner.cloud/reference/cloud#zone-rrsets) for more details.
1715

18-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
19-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
20-
2116
## Example Usage
2217

2318
```terraform

docs/data-sources/zone_rrsets.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ subcategory: ""
55
description: |-
66
Provides a list of Hetzner Cloud Zone Resource Record Set (RRSet).
77
See the Zone RRSets API documentation https://docs.hetzner.cloud/reference/cloud#zone-rrsets for more details.
8-
Experimental: DNS API is in beta, breaking changes may occur within minor releases.
9-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
108
---
119

1210
# hcloud_zone_rrsets (Data Source)
@@ -15,9 +13,6 @@ Provides a list of Hetzner Cloud Zone Resource Record Set (RRSet).
1513

1614
See the [Zone RRSets API documentation](https://docs.hetzner.cloud/reference/cloud#zone-rrsets) for more details.
1715

18-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
19-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
20-
2116
## Example Usage
2217

2318
```terraform

docs/data-sources/zones.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ subcategory: ""
55
description: |-
66
Provides a list of Hetzner Cloud Zone.
77
See the Zones API documentation https://docs.hetzner.cloud/reference/cloud#zones for more details.
8-
Experimental: DNS API is in beta, breaking changes may occur within minor releases.
9-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
108
---
119

1210
# hcloud_zones (Data Source)
@@ -15,9 +13,6 @@ Provides a list of Hetzner Cloud Zone.
1513

1614
See the [Zones API documentation](https://docs.hetzner.cloud/reference/cloud#zones) for more details.
1715

18-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
19-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
20-
2116
## Example Usage
2217

2318
```terraform

docs/functions/idna.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ Converts a Internationalized Domain Name (IDN) to ASCII using Punycode.
1313
The conversion is defined by Golang's IDNA package. See https://pkg.go.dev/golang.org/x/net/idna
1414
for more details.
1515

16-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
17-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
18-
1916
## Example Usage
2017

2118
```terraform

docs/functions/txt_record.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ description: |-
1010

1111
Format a TXT record by splitting it in quoted strings of 255 characters.
1212

13-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
14-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
15-
1613
## Example Usage
1714

1815
```terraform

docs/resources/zone.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description: |-
77
This can be used to create, modify, and delete Zones.
88
For Internationalized domain names (IDN), see the provider::hcloud::idna function.
99
See the Zones API documentation https://docs.hetzner.cloud/reference/cloud#zones for more details.
10-
Experimental: DNS API is in beta, breaking changes may occur within minor releases.
11-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
1210
---
1311

1412
# hcloud_zone (Resource)
@@ -21,9 +19,6 @@ For Internationalized domain names (IDN), see the `provider::hcloud::idna` funct
2119

2220
See the [Zones API documentation](https://docs.hetzner.cloud/reference/cloud#zones) for more details.
2321

24-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
25-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
26-
2722
## Example Usage
2823

2924
```terraform

docs/resources/zone_rrset.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ description: |-
1515
the parent Zone, therefor this Terraform resource will:
1616
import the RRSet in the state, instead of creating it.remove the RRSet from the state, instead of deleting it.set the SOA record SERIAL value to 0 before saving it to the state, as this value is automatically
1717
incremented by the API and would cause issues otherwise.
18-
Experimental: DNS API is in beta, breaking changes may occur within minor releases.
19-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
2018
---
2119

2220
# hcloud_zone_rrset (Resource)
@@ -44,9 +42,6 @@ the parent Zone, therefor this Terraform resource will:
4442
- set the SOA record SERIAL value to 0 before saving it to the state, as this value is automatically
4543
incremented by the API and would cause issues otherwise.
4644

47-
**Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
48-
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
49-
5045
## Example Usage
5146

5247
```terraform

internal/util/experimental/experimental.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,3 @@ func (e Experimental) AppendDiagnostic(diags *diag.Diagnostics) {
6262
func (e Experimental) AppendNotice(description *string) {
6363
*description = strings.TrimSuffix(*description, "\n") + e.notice
6464
}
65-
66-
var (
67-
DNS = New("DNS API", "in beta", "https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta")
68-
)

internal/zone/data_source.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"github.com/hetznercloud/hcloud-go/v2/hcloud"
1515
"github.com/hetznercloud/terraform-provider-hcloud/internal/util/datasourceutil"
16-
"github.com/hetznercloud/terraform-provider-hcloud/internal/util/experimental"
1716
"github.com/hetznercloud/terraform-provider-hcloud/internal/util/hcloudutil"
1817
)
1918

@@ -113,8 +112,6 @@ func (d *DataSource) Metadata(_ context.Context, _ datasource.MetadataRequest, r
113112
// provider-defined DataSource type. It is separately executed for each
114113
// ReadDataSource RPC.
115114
func (d *DataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse) {
116-
experimental.DNS.AppendDiagnostic(&resp.Diagnostics)
117-
118115
var newDiags diag.Diagnostics
119116

120117
d.client, newDiags = hcloudutil.ConfigureClient(req.ProviderData)
@@ -134,8 +131,6 @@ For Internationalized domain names (IDN), see the ` + "`provider::hcloud::idna`"
134131
See the [Zones API documentation](https://docs.hetzner.cloud/reference/cloud#zones) for more details.
135132
`
136133

137-
experimental.DNS.AppendNotice(&resp.Schema.MarkdownDescription)
138-
139134
resp.Schema.Attributes = getCommonDataSourceSchema(false)
140135
maps.Copy(resp.Schema.Attributes, map[string]schema.Attribute{
141136
"with_selector": schema.StringAttribute{

0 commit comments

Comments
 (0)