Commit 8c20caa
authored
chore(main): release v1.58.0 (#1295)
### Breaking Change for the *Storage Box* resource
Previously the `hcloud_storage_box` resource ignored any changes to the
`ssh_keys` attribute to avoid accidentally deleting the Storage Box (SSH
Keys can not be changed through the API after the Storage Box is
created).
This is changed in this release, we now mark the resource as "requires
replacement" if the SSH Keys are changed. If you want to ignore changes
and keep the previous behaviour, please add the attribute to
[`lifecycle.ignore_changes`](https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle#ignore_changes):
```terraform
resource "hcloud_storage_box" "example" {
// Other attributes
ssh_keys = [ "..." ]
lifecycle {
ignore_changes = [ ssh_keys ]
}
}
```
We are releasing this breaking change in a minor version as the *Storage
Box support* is [marked as
experimental](#1285).
### Deprecation of `datacenter` attribute for Primary IPs and Servers
The `datacenter` attributes is deprecated in `Primary IPs` and `Servers`
API resources and will be removed after 1 July 2026. See
https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters
for more details.
Therefore, `datacenter` attributes is deprecated in favour of the
`location` attribute in the following Terraform resources/datasources:
- `hcloud_server`
- `data.hcloud_server`
- `data.hcloud_servers`
- `hcloud_primary_ip`
- `data.hcloud_primary_ip`
- `data.hcloud_primary_ips`
The `location` attribute already exists for Servers, and was added for
Primary IPs.
The `datacenter` attribute will not be updated any more after it is no
longer returned by the API. For existing resources this will keep the
previous value, for new resources this will result in an empty string.
Please make sure to upgrade to `v1.58.0+` before the removal date to
avoid potential crashes in the provider.
### Features
- drop support for OpenTofu v1.8
- add support for OpenTofu v1.11
- **storage-box**: stop ignoring changes to ssh keys and replace
resource instead (#1296)
- deprecate datacenter in primary ips and servers (#1309)
### Bug Fixes
- **storage-box**: run actions serially (#1294)
- **zone**: using variable for primary nameservers causes error (#1306)
- **storage-box**: retry snapshot+subaccount create when locked (#1307)1 parent acde84f commit 8c20caa
1 file changed
+53
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
3 | 56 | | |
4 | 57 | | |
5 | 58 | | |
| |||
0 commit comments