Update Terraform hcloud to v1.54.0 #196

Open
renovate wants to merge 1 commit from renovate/hcloud-1.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
hcloud (source) required_provider minor 1.48.1 -> 1.54.0

Release Notes

hetznercloud/terraform-provider-hcloud (hcloud)

v1.54.0

Compare Source

DNS API Beta

This release adds support for the new DNS API.

The DNS API is currently in beta, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the DNS Beta FAQ for more details.

Future minor releases of this project may include breaking changes for features that are related to the DNS API.

See the DNS API Beta changelog for more details.

Examples

resource "hcloud_zone" "example" {
  name = "example.com"
  mode = "primary"
  labels = {
    key = "value"
  }
}

resource "hcloud_zone_rrset" "apex_a_example" {
  zone = hcloud_zone.example.name
  name = "@​"
  type = "A"
  records = [
    { value = "201.78.10.45", comment = "server1" },
  ]
}
Features

v1.53.1

Compare Source

Bug Fixes
  • show warnings using diagnostics instead of logs (#​1197)
  • also check server type deprecation after server creation (#​1201)

v1.53.0

Compare Source

Server Types now depend on Locations.

  • We added a new locations property to the Server Types resource. The new property defines a list of supported Locations and additional per Locations details such as deprecations information.

  • We deprecated the deprecation property from the Server Types resource. The property will gradually be phased out as per Locations deprecations are being announced. Please use the new per Locations deprecation information instead.

See our changelog for more details.

Upgrading

// 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"
  }
}
// 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)

v1.52.0

Compare Source

Features
  • drop support for terraform v1.9 (#​1125)
  • drop support for terraform v1.10 (#​1126)
  • add support for terraform v1.11 (#​1127)
  • add support for terraform v1.12 (#​1128)
  • warn when experimental features are used (#​1155)
  • drop support for opentofu v1.7 (#​1158)
  • add support for opentofu v1.10 (#​1159)

v1.51.0

Compare Source

Features
  • server: add private networks in data_source (#​1115)

v1.50.1

Compare Source

Bug Fixes
  • missing assignee_type in assign primary ip call (#​1117)

v1.50.0

Compare Source

In this release, we upgraded the underlying Hetzner Cloud API client (hcloud-go) for the entire provider, which involves risk of breakage. Please make sure to test this new version before using it on production environments.

Features
  • drop support for terraform v1.8 (#​1066)
  • add support for terraform v1.10 (#​1067)
  • add support for opentofu v1.9 (#​1071)
Bug Fixes

v1.49.1

Compare Source

Bug Fixes

v1.49.0

Compare Source

Features
Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [hcloud](https://registry.terraform.io/providers/hetznercloud/hcloud) ([source](https://github.com/hetznercloud/terraform-provider-hcloud)) | required_provider | minor | `1.48.1` -> `1.54.0` | --- ### Release Notes <details> <summary>hetznercloud/terraform-provider-hcloud (hcloud)</summary> ### [`v1.54.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1540) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.53.1...v1.54.0) ##### DNS API Beta This release adds support for the new [DNS API](https://docs.hetzner.cloud/reference/cloud#dns). The DNS API is currently in **beta**, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the [DNS Beta FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details. Future minor releases of this project may include breaking changes for features that are related to the DNS API. See the [DNS API Beta changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for more details. **Examples** ```terraform resource "hcloud_zone" "example" { name = "example.com" mode = "primary" labels = { key = "value" } } resource "hcloud_zone_rrset" "apex_a_example" { zone = hcloud_zone.example.name name = "@&#8203;" type = "A" records = [ { value = "201.78.10.45", comment = "server1" }, ] } ``` ##### Features - support the new DNS API ([#&#8203;1210](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1210)) ### [`v1.53.1`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1531) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.53.0...v1.53.1) ##### Bug Fixes - show warnings using diagnostics instead of logs ([#&#8203;1197](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1197)) - also check server type deprecation after server creation ([#&#8203;1201](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1201)) ### [`v1.53.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1530) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.52.0...v1.53.0) [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 ([#&#8203;1184](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1184)) - per locations server types ([#&#8203;1193](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1193)) ##### Bug Fixes - ensure exponential poll backoff is configured ([#&#8203;1160](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1160)) - handle not found volume deletion ([#&#8203;1189](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1189)) - wait for floating\_ip assign action to complete ([#&#8203;1195](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1195)) - add experimental features maturity ([#&#8203;1191](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1191)) ### [`v1.52.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1520) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.51.0...v1.52.0) ##### Features - drop support for terraform v1.9 ([#&#8203;1125](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1125)) - drop support for terraform v1.10 ([#&#8203;1126](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1126)) - add support for terraform v1.11 ([#&#8203;1127](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1127)) - add support for terraform v1.12 ([#&#8203;1128](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1128)) - warn when experimental features are used ([#&#8203;1155](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1155)) - drop support for opentofu v1.7 ([#&#8203;1158](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1158)) - add support for opentofu v1.10 ([#&#8203;1159](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1159)) ### [`v1.51.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1510) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.50.1...v1.51.0) ##### Features - **server**: add private networks in data\_source ([#&#8203;1115](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1115)) ### [`v1.50.1`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1501) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.50.0...v1.50.1) ##### Bug Fixes - missing assignee\_type in assign primary ip call ([#&#8203;1117](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1117)) ### [`v1.50.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1500) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.49.1...v1.50.0) In this release, we upgraded the underlying Hetzner Cloud API client ([hcloud-go](https://github.com/hetznercloud/hcloud-go)) for the entire provider, which involves risk of breakage. Please make sure to test this new version before using it on production environments. ##### Features - drop support for terraform v1.8 ([#&#8203;1066](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1066)) - add support for terraform v1.10 ([#&#8203;1067](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1067)) - add support for opentofu v1.9 ([#&#8203;1071](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1071)) ##### Bug Fixes - upgrade hcloud-go to v2 ([#&#8203;1062](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1062)) ### [`v1.49.1`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#1491-2024-11-21) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.49.0...v1.49.1) ##### Bug Fixes - remove server network interface workaround ([#&#8203;1021](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1021)) ([be330df](https://github.com/hetznercloud/terraform-provider-hcloud/commit/be330dfbd721b32e337c188c863c97667f021f65)) ### [`v1.49.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#1490-2024-11-07) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.48.1...v1.49.0) ##### Features - add data.load\_balancer\_type(s) data sources ([#&#8203;991](https://github.com/hetznercloud/terraform-provider-hcloud/issues/991)) ([ef60613](https://github.com/hetznercloud/terraform-provider-hcloud/commit/ef60613cf649c60a04663011180eae9318afba7b)) - add support for opentofu v1.8 ([#&#8203;1029](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1029)) ([c7902de](https://github.com/hetznercloud/terraform-provider-hcloud/commit/c7902deb659c39ae1f00352ac967d22b9e98e169)) - drop support for opentofu v1.6 ([#&#8203;1030](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1030)) ([8c448dd](https://github.com/hetznercloud/terraform-provider-hcloud/commit/8c448dd02b3bdcbc881825fc18ea7163cecda22a)) ##### Bug Fixes - do not retry deleting a protected primary ip ([#&#8203;1015](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1015)) ([e9de286](https://github.com/hetznercloud/terraform-provider-hcloud/commit/e9de2865836bef8d4f4e9604d2d8c83c5a7cd12e)), closes [#&#8203;1014](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1014) - **primary-ip:** conflict when deleting IP ([#&#8203;994](https://github.com/hetznercloud/terraform-provider-hcloud/issues/994)) ([0873fb1](https://github.com/hetznercloud/terraform-provider-hcloud/commit/0873fb1580bf33334bc266a508d42a94486c20c5)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS4xMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate changed title from Update Terraform hcloud to v1.49.0 to Update Terraform hcloud to v1.49.1 2024-11-21 16:00:38 +00:00
renovate force-pushed renovate/hcloud-1.x from af619f2127 to 5ea340497e 2024-11-21 16:00:48 +00:00 Compare
renovate changed title from Update Terraform hcloud to v1.49.1 to Update Terraform hcloud to v1.50.0 2025-02-25 16:00:54 +00:00
renovate force-pushed renovate/hcloud-1.x from 5ea340497e to 86dd59880a 2025-02-25 16:00:55 +00:00 Compare
renovate changed title from Update Terraform hcloud to v1.50.0 to Update Terraform hcloud to v1.50.1 2025-04-24 14:00:35 +01:00
renovate force-pushed renovate/hcloud-1.x from 86dd59880a to 76272b1916 2025-04-24 14:00:38 +01:00 Compare
renovate changed title from Update Terraform hcloud to v1.50.1 to Update Terraform hcloud to v1.51.0 2025-05-20 14:00:57 +01:00
renovate force-pushed renovate/hcloud-1.x from 76272b1916 to e45968d174 2025-05-20 14:00:59 +01:00 Compare
renovate changed title from Update Terraform hcloud to v1.51.0 to Update Terraform hcloud to v1.52.0 2025-07-28 10:00:38 +01:00
renovate force-pushed renovate/hcloud-1.x from e45968d174 to 0211e9e8c6 2025-07-28 10:00:40 +01:00 Compare
renovate force-pushed renovate/hcloud-1.x from 0211e9e8c6 to dfbde1c909 2025-08-05 12:00:30 +01:00 Compare
renovate force-pushed renovate/hcloud-1.x from dfbde1c909 to cfa641ad19 2025-09-03 14:00:29 +01:00 Compare
renovate force-pushed renovate/hcloud-1.x from cfa641ad19 to ad03827add 2025-09-26 10:00:32 +01:00 Compare
renovate changed title from Update Terraform hcloud to v1.52.0 to Update Terraform hcloud to v1.53.0 2025-09-26 10:00:33 +01:00
renovate force-pushed renovate/hcloud-1.x from ad03827add to 5f6d1e8178 2025-09-26 20:00:32 +01:00 Compare
renovate changed title from Update Terraform hcloud to v1.53.0 to Update Terraform hcloud to v1.53.1 2025-09-26 20:00:32 +01:00
renovate force-pushed renovate/hcloud-1.x from 5f6d1e8178 to 80b7ec277d 2025-10-07 12:00:39 +01:00 Compare
renovate changed title from Update Terraform hcloud to v1.53.1 to Update Terraform hcloud to v1.54.0 2025-10-07 12:00:39 +01:00
All checks were successful
/ terraform (push) Successful in 1m57s
/ ansible (push) Successful in 3m5s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/hcloud-1.x:renovate/hcloud-1.x
git switch renovate/hcloud-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/hcloud-1.x
git switch renovate/hcloud-1.x
git rebase master
git switch master
git merge --ff-only renovate/hcloud-1.x
git switch renovate/hcloud-1.x
git rebase master
git switch master
git merge --no-ff renovate/hcloud-1.x
git switch master
git merge --squash renovate/hcloud-1.x
git switch master
git merge --ff-only renovate/hcloud-1.x
git switch master
git merge renovate/hcloud-1.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: systems/infrastructure#196
No description provided.