Update Terraform hcloud to v1.55.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| hcloud (source) | required_provider | minor |
1.37.0 -> 1.55.0
|
Release Notes
hetznercloud/terraform-provider-hcloud (hcloud)
v1.55.0
Features
- support managing records of type SOA (#1225)
- firewall: importing firewall attachments (#1231)
- add
txt_recordhelper function (#1227)
Bug Fixes
- load-balancer: mark health check retries as required (#1232)
v1.54.0
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
- support the new DNS API (#1210)
v1.53.1
Bug Fixes
- show warnings using diagnostics instead of logs (#1197)
- also check server type deprecation after server creation (#1201)
v1.53.0
Server Types now depend on Locations.
-
We added a new
locationsproperty 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
deprecationproperty 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
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
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
Features
- server: add private networks in data_source (#1115)
v1.50.1
Bug Fixes
- missing assignee_type in assign primary ip call (#1117)
v1.50.0
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
- upgrade hcloud-go to v2 (#1062)
v1.49.1
Bug Fixes
v1.49.0
Features
- add data.load_balancer_type(s) data sources (#991) (ef60613)
- add support for opentofu v1.8 (#1029) (c7902de)
- drop support for opentofu v1.6 (#1030) (8c448dd)
Bug Fixes
- do not retry deleting a protected primary ip (#1015) (e9de286), closes #1014
- primary-ip: conflict when deleting IP (#994) (0873fb1)
v1.48.1
Bug Fixes
v1.48.0
Features
- add support for opentofu v1.7 (#950) (ae115a8)
- add support for terraform v1.9 (#949) (642ac15)
- drop support for terraform v1.7.x (#947) (f6372aa)
- server-type: mark included_traffic attribute as deprecated (#963) (e8101cc)
Bug Fixes
- do not continue if an api error occurred (#958) (85a4dd0)
- load-balancer: automatic import of target adds conflicting fields (#962) (6c0b1c4), closes #961
v1.47.0
Features
Bug Fixes
- ssh-key: data inconsistency with empty label objects (#922) (7e1bf2c), closes #921
- subnet: handle new error message for deleting subnets with attached resources (#923) (932c47b)
v1.46.1
Bug Fixes
v1.45.0
Features
- provider: choose between constant & exponential backoff for actions (#798) (fa7ea1f)
-
server: add
primary_disk_sizeattribute in resource and datasource (#801) (98c2f2d)
Bug Fixes
- network: mark data source fields as computed (#805) (63e157c)
- placement-group: mark data source fields as computed (#806) (53069ac)
- server: missing field primary_disk_size (#811) (9bd0ef0)
v1.44.1
Bug Fixes
v1.44.0
Features
Bug Fixes
- poll_interval not working as expected (6ef7467)
v1.43.0
Features
- build with Go 1.21 (#753) (f68e079)
- server: Optional graceful shutdown before deleting servers (#755) (0c477a3)
v1.42.1
Bug Fixes
- primary_ip: list data source only returned first 25 IPs (#729) (62e9781)
- server: panic when passing empty string as ssh key (#736) (d57b386)
-
server: Return
nilinstead of"<nil>"with IPv4/IPv6 disabled (#723) (6cd2a37) - use exponential backoff when retrying actions (#735) (d51ee4a)
v1.42.0
Features
Bug Fixes
- lb: early validation for lb_target arguments (#721) (10928d1)
- rdns: crash when resource was deleted outside of terraform (#720) (aad0614), closes #710
v1.41.0
Features
v1.40.0
Features
Bug Fixes
v1.39.0
What's Changed
- feat(rdns): support setting RDNS for Primary IPs by @apricote in #669
- feat(server_type): return included traffic by @apricote in #680
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.38.2...v1.39.0
v1.38.2
What's Changed
- ci: run e2etests in parallel by @apricote in #660
- fix(server): avoid recreate when using official image by ID by @apricote in #661
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.38.1...v1.38.2
v1.38.1
Affordable, sustainable & powerful! rocketYou can now get one of our Arm64 CAX servers to optimize your operations while minimizing your costs! Discover Ampere’s efficient and robust Arm64 architecture and be ready to get blown away with its performance. sunglasses
Learn more: https://www.hetzner.com/news/arm64-cloud
What's Changed
- fix(server): crash when non-existent server type is used by @apricote in #659
- fix(server): unable to create server from image id by @apricote in #658
- fix(deps): update module golang.org/x/crypto to v0.8.0 by @renovate in #652
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.38.0...v1.38.1
v1.38.0
Affordable, sustainable & powerful!
Learn more: https://www.hetzner.com/news/arm64-cloud
What's Changed
- fix(deps): update github.com/hashicorp/go-cty digest to
8598007by @renovate in #633 - fix(deps): update module golang.org/x/net to v0.9.0 by @renovate in #651
- feat: add support for ARM APIs by @apricote in #654
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.37.0...v1.38.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.