Update Terraform hcloud to v1.57.0 #31

Open
kjuulh wants to merge 1 commits from renovate/all into main
Owner

This PR contains the following updates:

Package Type Update Change
hcloud (source) required_provider minor 1.50.0 -> 1.57.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

hetznercloud/terraform-provider-hcloud (hcloud)

v1.57.0

Compare Source

Storage Box API Experimental

This release adds support for the Storage Box API.

The Storage Box integration will be introduced as an experimental feature. This experimental phase is expected to last until 2 January 2026. During this period, upcoming minor releases of the project may include breaking changes to features related to the Storage Box API. You can find out the current state of this in #​1285.

This release includes all changes from the recent Storage Box API changelog entry.

Examples
resource "hcloud_storage_box" "backups" {
  name             = "backups"
  storage_box_type = "bx21"
  location         = "hel1"
  password         = var.storage_box_password
}

resource "hcloud_storage_box_snapshot" "tool_xyz_migration" {
  storage_box_id = hcloud_storage_box.backups.id

  description = "Before Tool XYZ Migration"
  labels = {
    env = "production"
  }
}

resource "hcloud_storage_box_subaccount" "team_badger" {
  storage_box_id = hcloud_storage_box.backups.id

  home_directory = "teams/badger/"
  password       = var.team_badger_password
}
Features
  • drop builds for windows arm (32 bit) (#​1260)
  • drop support for terraform v1.11
  • drop support for terraform v1.12
  • add support for terraform v1.13
  • add support for terraform v1.14
  • add support for Storage Boxes (#​1166)
Bug Fixes
  • abort when data transformation errors (#​1253)
  • ensure partially created resources are tainted in the state (#​1257)
  • dns records order is not guaranteed (#​1259)

v1.56.0

Compare Source

DNS API is now generally available

The DNS API is now generally available, as well as support for features in this project that are related to the DNS API.

To migrate existing zones to the new DNS API, see the DNS migration guide.

See the changelog for more details.

Server and load balancer network attachment

With this release, the hcloud_server_network and hcloud_load_balancer_network resource now supports assigning a server or load balancer to a specific network subnet using the subnet_id attribute. The subnet_id attribute also validates that the network_id and ip attributes are consistent with the subnet_id. If they are not consistent, the resource will be replaced.

In the hcloud_server_network resource, the alias_ips attributes now defaults to an empty set when undefined.

Features
  • attach server to a specific network subnet (#​1217)
  • attach load balancer to a specific network subnet (#​1242)
  • DNS support is now generally available (#​1247)

v1.55.0

Compare Source

Features
  • support managing records of type SOA (#​1225)
  • firewall: importing firewall attachments (#​1231)
  • add txt_record helper function (#​1227)
Bug Fixes
  • load-balancer: mark health check retries as required (#​1232)

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)

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.50.0` -> `1.57.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>hetznercloud/terraform-provider-hcloud (hcloud)</summary> ### [`v1.57.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1570) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.56.0...v1.57.0) ##### Storage Box API Experimental This release adds support for the [Storage Box API](https://docs.hetzner.cloud/reference/hetzner#storage-boxes). The Storage Box integration will be introduced as an **experimental** feature. This experimental phase is expected to last until **2 January 2026**. During this period, upcoming minor releases of the project may include breaking changes to features related to the Storage Box API. You can find out the current state of this in [#&#8203;1285](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1285). This release includes all changes from the recent [Storage Box API changelog](https://docs.hetzner.cloud/changelog#2025-10-21-storage-box-api-update) entry. ##### Examples ```terraform resource "hcloud_storage_box" "backups" { name = "backups" storage_box_type = "bx21" location = "hel1" password = var.storage_box_password } resource "hcloud_storage_box_snapshot" "tool_xyz_migration" { storage_box_id = hcloud_storage_box.backups.id description = "Before Tool XYZ Migration" labels = { env = "production" } } resource "hcloud_storage_box_subaccount" "team_badger" { storage_box_id = hcloud_storage_box.backups.id home_directory = "teams/badger/" password = var.team_badger_password } ``` ##### Features - drop builds for windows arm (32 bit) ([#&#8203;1260](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1260)) - drop support for terraform v1.11 - drop support for terraform v1.12 - add support for terraform v1.13 - add support for terraform v1.14 - add support for Storage Boxes ([#&#8203;1166](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1166)) ##### Bug Fixes - abort when data transformation errors ([#&#8203;1253](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1253)) - ensure partially created resources are tainted in the state ([#&#8203;1257](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1257)) - dns records order is not guaranteed ([#&#8203;1259](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1259)) ### [`v1.56.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1560) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.55.0...v1.56.0) ##### DNS API is now generally available The DNS API is now generally available, as well as support for features in this project that are related to the DNS API. To migrate existing zones to the new DNS API, see the [DNS migration guide](https://docs.hetzner.com/networking/dns/migration-to-hetzner-console/process/). See the [changelog](https://docs.hetzner.cloud/changelog#2025-11-10-dns-ga) for more details. ##### Server and load balancer network attachment With this release, the `hcloud_server_network` and `hcloud_load_balancer_network` resource now supports assigning a server or load balancer to a specific network subnet using the `subnet_id` attribute. The `subnet_id` attribute also validates that the `network_id` and `ip` attributes are consistent with the `subnet_id`. If they are not consistent, the resource will be replaced. In the `hcloud_server_network` resource, the `alias_ips` attributes now defaults to an empty set when undefined. ##### Features - attach server to a specific network subnet ([#&#8203;1217](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1217)) - attach load balancer to a specific network subnet ([#&#8203;1242](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1242)) - DNS support is now generally available ([#&#8203;1247](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1247)) ### [`v1.55.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1550) [Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.54.0...v1.55.0) ##### Features - support managing records of type SOA ([#&#8203;1225](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1225)) - **firewall**: importing firewall attachments ([#&#8203;1231](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1231)) - add `txt_record` helper function ([#&#8203;1227](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1227)) ##### Bug Fixes - **load-balancer**: mark health check retries as required ([#&#8203;1232](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1232)) ### [`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)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTcuOCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2025-04-25 02:48:46 +02:00
kjuulh changed title from Update Terraform hcloud to v1.50.1 to Update Terraform hcloud to v1.51.0 2025-05-21 02:46:38 +02:00
kjuulh force-pushed renovate/all from d34d00f3f4 to 92133ee212 2025-05-21 02:46:39 +02:00 Compare
kjuulh force-pushed renovate/all from 92133ee212 to 788b79749e 2025-11-13 03:43:10 +01:00 Compare
kjuulh changed title from Update Terraform hcloud to v1.51.0 to Update Terraform hcloud to v1.56.0 2025-11-13 03:43:10 +01:00
kjuulh changed title from Update Terraform hcloud to v1.56.0 to Update Terraform hcloud to v1.57.0 2025-11-29 03:04:34 +01:00
kjuulh force-pushed renovate/all from 788b79749e to 76e47df5dd 2025-11-29 03:04:34 +01:00 Compare
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/all:renovate/all
git checkout renovate/all
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/serverctl#31
No description provided.