Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 26, 2025

This PR contains the following updates:

Package Type Update Change
hcloud (source) required_provider minor 1.52.01.59.0

Release Notes

hetznercloud/terraform-provider-hcloud (hcloud)

v1.59.0

Compare Source

Features
  • add name to Storage Box Subaccount (#​1323)
Bug Fixes
  • support importing storage box without forced replacement (#​1314)
  • panic on nil action in settle actions helper (#​1321)

v1.58.0

Compare Source

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:

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.

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)

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)

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from 00828e3 to cdac224 Compare September 26, 2025 21:04
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.53.0 chore(deps): update terraform hcloud to v1.53.1 Sep 26, 2025
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.53.1 chore(deps): update terraform hcloud to v1.54.0 Oct 7, 2025
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from cdac224 to 9021eff Compare October 7, 2025 15:05
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.54.0 chore(deps): update terraform hcloud to v1.55.0 Nov 7, 2025
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from 9021eff to afa8ebb Compare November 7, 2025 14:54
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.55.0 chore(deps): update terraform hcloud to v1.56.0 Nov 10, 2025
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from afa8ebb to f5c9013 Compare November 10, 2025 12:47
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from f5c9013 to b10dc86 Compare November 21, 2025 12:01
@samcday samcday force-pushed the main branch 3 times, most recently from 0e58f85 to 4640da7 Compare November 22, 2025 04:12
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch 2 times, most recently from e21e041 to 0cd1682 Compare November 28, 2025 14:45
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.56.0 chore(deps): update terraform hcloud to v1.57.0 Nov 28, 2025
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from 0cd1682 to ecd7756 Compare January 5, 2026 16:09
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.57.0 chore(deps): update terraform hcloud to v1.58.0 Jan 5, 2026
@renovate renovate bot changed the title chore(deps): update terraform hcloud to v1.58.0 chore(deps): update terraform hcloud to v1.59.0 Jan 16, 2026
@renovate renovate bot force-pushed the renovate/hcloud-1.x branch from ecd7756 to a032983 Compare January 16, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants