Load Balancers can now be created with existing Primary IPs
Primary IPs, which were previously available exclusively for Servers, are now also available for Load Balancers. When creating a Load Balancer, you can assign an existing Primary IP instead of having an IP address allocated automatically. Currently, you cannot change the Primary IP once the Load Balancer has been created.
To support this change, we added the following attributes to the hcloud_load_balancer resource:
ipv4_id: ID of an IPv4 Primary IP to assign to the Load Balancer.
ipv6_id: ID of an IPv6 Primary IP to assign to the Load Balancer.
If you omit a property, a new Primary IP of that version is allocated for the Load Balancer, as before.
A Primary IP can currently only be assigned when the Load Balancer is created. It stays assigned for the entire lifetime of the Load Balancer.
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.68.0` → `~> 1.70.0` |
---
### Release Notes
<details>
<summary>hetznercloud/terraform-provider-hcloud (hcloud)</summary>
### [`v1.70.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1700)
[Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.69.0...v1.70.0)
[Compare to previous version](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.69.0...v1.70.0)
##### Load Balancers can now be created with existing Primary IPs
Primary IPs, which were previously available exclusively for Servers, are now also available for Load Balancers. When creating a Load Balancer, you can assign an [existing Primary IP](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips/list_primary_ips) instead of having an IP address allocated automatically. Currently, you cannot change the Primary IP once the Load Balancer has been created.
To support this change, we added the following attributes to the `hcloud_load_balancer` resource:
- `ipv4_id`: ID of an IPv4 Primary IP to assign to the Load Balancer.
- `ipv6_id`: ID of an IPv6 Primary IP to assign to the Load Balancer.
If you omit a property, a new Primary IP of that version is allocated for the Load Balancer, as before.
A Primary IP can currently only be assigned when the Load Balancer is created. It stays assigned for the entire lifetime of the Load Balancer.
Related to <https://docs.hetzner.cloud/changelog#2026-10-05-load-balancers-can-use-existing-primary-ips>.
##### Features
- add hcloud_network_members data-source ([#​1535](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1535)) ([2c25a00](https://github.com/hetznercloud/terraform-provider-hcloud/commit/2c25a00b03f8e5dd9f3fc728c189a29f3cb6f373))
- **load_balancer**: allow creating load balancers with primary ips ([#​1544](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1544)) ([024a6f0](https://github.com/hetznercloud/terraform-provider-hcloud/commit/024a6f0118d7aa968f141dc71b6638e8ac0e5544))
### [`v1.69.0`](https://github.com/hetznercloud/terraform-provider-hcloud/blob/HEAD/CHANGELOG.md#v1690)
[Compare Source](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.68.0...v1.69.0)
[Compare to previous version](https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.68.0...v1.69.0)
##### Features
- **image**: add deprecation info to data sources ([#​1529](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1529)) ([abfc55a](https://github.com/hetznercloud/terraform-provider-hcloud/commit/abfc55a6a7702d03e094e30cd06849feecf86e24))
- drop support for terraform v1.14 ([#​1531](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1531)) ([67e5c0c](https://github.com/hetznercloud/terraform-provider-hcloud/commit/67e5c0cf18fc969ede64c28bac67cd6d5a504d13))
- add support for terraform v1.16 ([#​1531](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1531)) ([67e5c0c](https://github.com/hetznercloud/terraform-provider-hcloud/commit/67e5c0cf18fc969ede64c28bac67cd6d5a504d13))
##### Bug Fixes
- **server**: only write `ipv6_network` value to state if defined ([#​1526](https://github.com/hetznercloud/terraform-provider-hcloud/issues/1526)) ([c7ffc2f](https://github.com/hetznercloud/terraform-provider-hcloud/commit/c7ffc2f0b7f1e2d7ce455d4070ec3fb6b072f153))
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- 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 [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC44My4yIiwidXBkYXRlZEluVmVyIjoiNDQuMTQ2LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
~> 1.68.0→~> 1.70.0Release Notes
hetznercloud/terraform-provider-hcloud (hcloud)
v1.70.0Compare Source
Compare to previous version
Load Balancers can now be created with existing Primary IPs
Primary IPs, which were previously available exclusively for Servers, are now also available for Load Balancers. When creating a Load Balancer, you can assign an existing Primary IP instead of having an IP address allocated automatically. Currently, you cannot change the Primary IP once the Load Balancer has been created.
To support this change, we added the following attributes to the
hcloud_load_balancerresource:ipv4_id: ID of an IPv4 Primary IP to assign to the Load Balancer.ipv6_id: ID of an IPv6 Primary IP to assign to the Load Balancer.If you omit a property, a new Primary IP of that version is allocated for the Load Balancer, as before.
A Primary IP can currently only be assigned when the Load Balancer is created. It stays assigned for the entire lifetime of the Load Balancer.
Related to https://docs.hetzner.cloud/changelog#2026-10-05-load-balancers-can-use-existing-primary-ips.
Features
v1.69.0Compare Source
Compare to previous version
Features
Bug Fixes
ipv6_networkvalue to state if defined (#1526) (c7ffc2f)Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.
9c9e67b7f4tof9e47968dcdeps: update terraform hcloud to ~> 1.69.0to deps: update terraform hcloud to ~> 1.70.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.