Skip to content

Commit 6acfeba

Browse files
authored
chore(main): release v1.53.0 (#1161)
<!-- section-start changelog --> [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) now depend on [Locations](https://docs.hetzner.cloud/reference/cloud#locations). - We added a new `locations` property to the [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) resource. The new property defines a list of supported [Locations](https://docs.hetzner.cloud/reference/cloud#locations) and additional per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) details such as deprecations information. - We deprecated the `deprecation` property from the [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) resource. The property will gradually be phased out as per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) deprecations are being announced. Please use the new per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) deprecation information instead. See our [changelog](https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types) for more details. **Upgrading** ```tf // Before data "hcloud_server_type" "main" { name = "cx22" } check "server_type" { assert { condition = !data.hcloud_server_type.main.is_deprecated error_message = "Server Type ${data.hcloud_server_type.main.name} is deprecated" } } ``` ```tf // After data "hcloud_location" "main" { name = "fsn1" } data "hcloud_server_type" "main" { name = "cx22" } locals { server_type_location = one([ for o in data.hcloud_server_type.main.locations : o if o.name == data.hcloud_location.main.name ]) } check "server_type_location" { assert { condition = local.server_type_location != null error_message = "Server Type ${data.hcloud_server_type.main.name} does not exists in Location ${data.hcloud_location.main.name}" } assert { condition = !local.server_type_location.is_deprecated error_message = "Server Type ${data.hcloud_server_type.main.name} is deprecated in Location ${data.hcloud_location.main.name}" } } ``` ### Features - add category property to server type (#1184) - per locations server types (#1193) ### Bug Fixes - ensure exponential poll backoff is configured (#1160) - handle not found volume deletion (#1189) - wait for floating_ip assign action to complete (#1195) - add experimental features maturity (#1191) <!-- section-end changelog --> --- <details> <summary><h4>PR by <a href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a> 🤖</h4></summary> If you want to modify the proposed release, add you overrides here. You can learn more about the options in the docs. ## Release Notes ### Prefix / Start This will be added to the start of the release notes. ~~~~rp-prefix [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) now depend on [Locations](https://docs.hetzner.cloud/reference/cloud#locations). - We added a new `locations` property to the [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) resource. The new property defines a list of supported [Locations](https://docs.hetzner.cloud/reference/cloud#locations) and additional per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) details such as deprecations information. - We deprecated the `deprecation` property from the [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) resource. The property will gradually be phased out as per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) deprecations are being announced. Please use the new per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) deprecation information instead. See our [changelog](https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types) for more details. **Upgrading** ```tf // Before data "hcloud_server_type" "main" { name = "cx22" } check "server_type" { assert { condition = !data.hcloud_server_type.main.is_deprecated error_message = "Server Type ${data.hcloud_server_type.main.name} is deprecated" } } ``` ```tf // After data "hcloud_location" "main" { name = "fsn1" } data "hcloud_server_type" "main" { name = "cx22" } locals { server_type_location = one([ for o in data.hcloud_server_type.main.locations : o if o.name == data.hcloud_location.main.name ]) } check "server_type_location" { assert { condition = local.server_type_location != null error_message = "Server Type ${data.hcloud_server_type.main.name} does not exists in Location ${data.hcloud_location.main.name}" } assert { condition = !local.server_type_location.is_deprecated error_message = "Server Type ${data.hcloud_server_type.main.name} is deprecated in Location ${data.hcloud_location.main.name}" } } ``` ~~~~ ### Suffix / End This will be added to the end of the release notes. ~~~~rp-suffix ~~~~ </details> Co-authored-by: Hetzner Cloud Bot <>
1 parent c55cc06 commit 6acfeba

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,72 @@
11
# Changelog
22

3+
## [v1.53.0](https://github.com/hetznercloud/terraform-provider-hcloud/releases/tag/v1.53.0)
4+
5+
[Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) now depend on [Locations](https://docs.hetzner.cloud/reference/cloud#locations).
6+
7+
- We added a new `locations` property to the [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) resource. The new property defines a list of supported [Locations](https://docs.hetzner.cloud/reference/cloud#locations) and additional per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) details such as deprecations information.
8+
9+
- We deprecated the `deprecation` property from the [Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) resource. The property will gradually be phased out as per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) deprecations are being announced. Please use the new per [Locations](https://docs.hetzner.cloud/reference/cloud#locations) deprecation information instead.
10+
11+
See our [changelog](https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types) for more details.
12+
13+
**Upgrading**
14+
15+
```tf
16+
// Before
17+
data "hcloud_server_type" "main" {
18+
name = "cx22"
19+
}
20+
21+
check "server_type" {
22+
assert {
23+
condition = !data.hcloud_server_type.main.is_deprecated
24+
error_message = "Server Type ${data.hcloud_server_type.main.name} is deprecated"
25+
}
26+
}
27+
```
28+
29+
```tf
30+
// After
31+
data "hcloud_location" "main" {
32+
name = "fsn1"
33+
}
34+
35+
data "hcloud_server_type" "main" {
36+
name = "cx22"
37+
}
38+
39+
locals {
40+
server_type_location = one([
41+
for o in data.hcloud_server_type.main.locations : o
42+
if o.name == data.hcloud_location.main.name
43+
])
44+
}
45+
46+
check "server_type_location" {
47+
assert {
48+
condition = local.server_type_location != null
49+
error_message = "Server Type ${data.hcloud_server_type.main.name} does not exists in Location ${data.hcloud_location.main.name}"
50+
}
51+
assert {
52+
condition = !local.server_type_location.is_deprecated
53+
error_message = "Server Type ${data.hcloud_server_type.main.name} is deprecated in Location ${data.hcloud_location.main.name}"
54+
}
55+
}
56+
```
57+
58+
### Features
59+
60+
- add category property to server type (#1184)
61+
- per locations server types (#1193)
62+
63+
### Bug Fixes
64+
65+
- ensure exponential poll backoff is configured (#1160)
66+
- handle not found volume deletion (#1189)
67+
- wait for floating_ip assign action to complete (#1195)
68+
- add experimental features maturity (#1191)
69+
370
## [v1.52.0](https://github.com/hetznercloud/terraform-provider-hcloud/releases/tag/v1.52.0)
471

572
### Features

0 commit comments

Comments
 (0)