- image: add deprecation info to data sources (#1529) (abfc55a)
- drop support for terraform v1.14 (#1531) (67e5c0c)
- add support for terraform v1.16 (#1531) (67e5c0c)
- server: only write
ipv6_networkvalue to state if defined (#1526) (c7ffc2f)
- load_balancer_type: add deprecation details and warnings (#1512) (44a81e1)
- server_type: add deprecation warnings (#1512) (44a81e1)
- zone_record: set identity after read/update (#1507) (daf4b85)
The deprecated datacenter attribute was marked for removal from the Server and Primary IP resources/data sources. You must use the location attribute instead. Since the property was already removed from the Hetzner Cloud API, we do not consider this a breaking change (see changelog entry).
Important
Action required: Please update all configuration that uses the datacenter attribute to use the location attribute instead.
Before:
resource "hcloud_server" "main" {
// ...
datacenter = "hel1-dc1"
}
resource "hcloud_primary_ip" "main" {
// ...
datacenter = "hel1-dc1"
}After:
resource "hcloud_server" "main" {
// ...
location = "hel1"
}
resource "hcloud_primary_ip" "main" {
// ...
location = "hel1"
}- remove
datacenterfrom primary ips and servers (#1501) (59a48f5)
- server: do not validate unknown network config (#1493) (f180913)
- primary_ip: only validate assignee attributes when known (#1487) (8fc1a69)
- server: inconsistent image attribute when using data source (#1489) (3fefa12)
The hcloud_datacenter and hcloud_datacenters data sources are deprecated and will be removed after 1 Oct. 2026. After this date, requests to the datacenters API endpoints will return HTTP 410 Gone.
Please use the hcloud_location and hcloud_locations data sources instead.
See the changelog for more details.
- image: warn when using a deprecated image (#1456)
- deprecate
hcloud_datacenter(s)data sources (#1463)
- handle invalid input errors without details (#1453)
- primary-ip: make
auto_deleteattribute optional (#1429) - server: remove
allow_deprecated_imagesfromhcloud_server(#1435)
- primary-ip: do not update assignee on unknown assignee_type (#1440)
- load-balancer: support
timeout_idlehttp service attribute (#1398) - drop support for terraform v1.13 (#1418)
- add support for terraform v1.15 (#1418)
- drop support for opentofu v1.9 (#1420)
- add support for opentofu v1.12 (#1420)
- rdns: gracefully handle not found errors (#1419)
- server: handle ipv6 when removing public net block (#1427)
- server: allow both
network_idandsubnet_idto be defined (#1430)
- server: add subnet_id support (#1278)
The hcloud_primary_ip resource will now:
- raise a warning if
assignee_typeattribute is configured withoutassignee_idattribute - raise an error if
assignee_idattribute is configured withoutassignee_typeattribute
As of 1 August 2026, the behavior of the Primary IP assignee_type property will change, and will return unassigned when the Primary IP is not assigned (when assignee_id is null). The goal is to eventually assign Primary IPs to other resource types, not only to server.
See the changelog for more details.
In addition, the Primary IP request body assignee_type property of the operation POST /v1/primary_ips is now optional. Primary IPs created without assignee_type return server until 1 August 2026, after this date, its value will be unassigned.
See the changelog for more details.
- primary-ip:
assignee_typeattribute is now optional (#1395)
- firewall: apply_to update removes firewall from state when target resource is not found (#1380)
- Data sources
hcloud_datacenter/hcloud_datacenters[]: Attributessupported_server_type_ids[]andavailable_server_type_ids[]have been deprecated. - Data sources
hcloud_server_type/hcloud_server_types[]: Attributeslocations[].availableandlocations[].recommendedhave been added as a replacement for the deprecated datacenter attributes.
See the changelog for more details.
- server: implement actions for poweron, poweroff, reset, and reboot (#1342)
- datacenter, server_type: move available and recommended to server_type (#1378)
- primary-ip: reassigning fails as IP needs to be unassigned first (#1353)
- primary-ip: unassign before deleting a primary ip (#1384)
- include response correlation id in api error diagnostics (#1386)
- storage-box: subaccount name was ignored (#1344)
- add
zone_recordresource (#1228) - Storage Box support no longer experimental (#1329)
- floating-ip: unassign from server before deleting it (#1335)
- add name to Storage Box Subaccount (#1323)
- support importing storage box without forced replacement (#1314)
- panic on nil action in settle actions helper (#1321)
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.
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_serverdata.hcloud_serverdata.hcloud_servershcloud_primary_ipdata.hcloud_primary_ipdata.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.
- 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)
- storage-box: run actions serially (#1294)
- zone: using variable for primary nameservers causes error (#1306)
- storage-box: retry snapshot+subaccount create when locked (#1307)
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.
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
}- 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)
- abort when data transformation errors (#1253)
- ensure partially created resources are tainted in the state (#1257)
- dns records order is not guaranteed (#1259)
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.
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.
- attach server to a specific network subnet (#1217)
- attach load balancer to a specific network subnet (#1242)
- DNS support is now generally available (#1247)
- support managing records of type SOA (#1225)
- firewall: importing firewall attachments (#1231)
- add
txt_recordhelper function (#1227)
- load-balancer: mark health check retries as required (#1232)
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" },
]
}- support the new DNS API (#1210)
- show warnings using diagnostics instead of logs (#1197)
- also check server type deprecation after server creation (#1201)
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}"
}
}- add category property to server type (#1184)
- per locations server types (#1193)
- 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)
- 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)
- server: add private networks in data_source (#1115)
- missing assignee_type in assign primary ip call (#1117)
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.
- drop support for terraform v1.8 (#1066)
- add support for terraform v1.10 (#1067)
- add support for opentofu v1.9 (#1071)
- upgrade hcloud-go to v2 (#1062)
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.
- drop support for terraform v1.8 (#1066)
- add support for terraform v1.10 (#1067)
- add support for opentofu v1.9 (#1071)
- upgrade hcloud-go to v2 (#1062)
1.49.1 (2024-11-21)
1.49.0 (2024-11-07)
- 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)
- do not retry deleting a protected primary ip (#1015) (e9de286), closes #1014
- primary-ip: conflict when deleting IP (#994) (0873fb1)
1.48.1 (2024-09-06)
1.48.0 (2024-07-25)
- 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)
- do not continue if an api error occurred (#958) (85a4dd0)
- load-balancer: automatic import of target adds conflicting fields (#962) (6c0b1c4), closes #961
1.47.0 (2024-05-02)
- 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)
1.46.1 (2024-04-05)
1.46.0 (2024-03-26)
- firewall: set IPs without prefix directly (#874) (40df28d), closes #807 #715
- support terraform v1.7.x (#845) (a5229f4)
- add api request status code in error diagnostics (#839) (3689ade)
- firewall: unnecessary diff if user specified non-minimal IPv6 (40df28d), closes #870
- return after error in datacenter data source (#847) (bfac734)
- server: unable to attach two new networks (#901) (df177e2), closes #899
1.45.0 (2024-01-11)
- provider: choose between constant & exponential backoff for actions (#798) (fa7ea1f)
- server: add
primary_disk_sizeattribute in resource and datasource (#801) (98c2f2d)
- 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)
1.44.1 (2023-10-05)
1.44.0 (2023-10-04)
- poll_interval not working as expected (6ef7467)
1.43.0 (2023-09-20)
- build with Go 1.21 (#753) (f68e079)
- server: Optional graceful shutdown before deleting servers (#755) (0c477a3)
1.42.1 (2023-08-14)
- 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)
1.42.0 (2023-07-13)
- lb: early validation for lb_target arguments (#721) (10928d1)
- rdns: crash when resource was deleted outside of terraform (#720) (aad0614), closes #710
1.41.0 (2023-06-22)
1.40.0 (2023-06-13)
- 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
- 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
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
- 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
Affordable, sustainable & powerful! 🚀You 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. 😎
Learn more: https://www.hetzner.com/news/arm64-cloud
- fix(deps): update github.com/hashicorp/go-cty digest to 8598007 by @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
- docs: Add missing location (hil) by @akirak in #606
- docs: replace outdated example OS image by @apricote in #615
- docs: list available datacenters by @apricote in #613
- docs: explain deprecated attributes by @apricote in #614
- feat(primaryip): return IPv6 subnet #600 by @apricote in #620
- fix: state is missing resources when rate limit is reached #604 by @apricote in #621
- chore(ci): run e2e on public workers by @samcday in #631
- Configure Renovate by @renovate in #629
- chore: Test against Terraform v1.4 by @apricote in #638
- fix(deps): update module github.com/hashicorp/terraform-plugin-log to v0.8.0 by @renovate in #639
- fix(deps): update module github.com/hetznercloud/hcloud-go to v1.41.0 by @renovate in #637
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.25.0 by @renovate in #640
- chore(deps): update goreleaser/goreleaser-action action to v4 by @renovate in #642
- fix: self-reported version not correct by @apricote in #630
- chore(deps): update actions/setup-go action to v4 by @renovate in #643
- fix(deps): update module golang.org/x/crypto to v0.7.0 by @renovate in #641
- docs: freebsd64 is no longer available as rescue image by @apricote in #645
- refactor: Make CI Happy Again by @apricote in #646
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.26.1 by @renovate in #644
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.36.2...v1.37.0
- test: fix acceptence tests for new location Hillsboro by @apricote in #598
- fix(server): unhandled errors from API calls by @apricote in #602
- fix(lb): lb_target breaks when load-balancer is deleted in API by @apricote in #603
- fix(lb): add missing fields to data source by @apricote in #605
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.36.1...v1.36.2
- chore: update hcloud-go to v1.37.0 by @apricote in #591
- fix(server): make sure that each network block is unique by @apricote in #594
- docs: mention that we only accept the location name as attribute by @apricote in #595
- fix(server): unnecessary updates when using network #556 by @apricote in #593
- fix: multiple resources break when parent resource is recreated by @apricote in #596
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.36.0...v1.36.1
- Update auto delete on primary IP resource change by @4ND3R50N in #573
- Update Dependencies by @LKaemmerling in #575
- Add tests for Terraform 1.3 by @LKaemmerling in #576
- docs: explain how to create a server from snapshot by @apricote in #582
- docs: clarify arguments of hcloud_primary_ip resource by @apricote in #584
- fix: error when deleting hcloud_primary_ip with auto_delete by @apricote in #585
- test: fix flaky test TestServerResource_PrimaryIPNetworkTests by @apricote in #587
- feat: import hcloud_load_balancer_target by @apricote in #589
- fix: race-condition when re-creating server with external primary ip by @apricote in #590
- @apricote made their first contribution in #582
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.35.2...v1.36.0
- bug: add missing datacenter option at primary_ip & fix file naming by @komandar in #559
- Fix private only server (attached to network) creation by @4ND3R50N in #562
- feature: update workflow & golang to newest stable release 1.19 by @komandar in #560
- ci: fix not available gpg_private_key in workflow by @komandar in #563
- Remove < and > signs in import examples by @ekeih in #564
- fix: wrong required statement by @komandar in #567
- style: unify the bool and boolean type in the docs by @komandar in #568
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.35.1...v1.35.2
- Add workaround "fix" for network interface issue by @4ND3R50N in #552
- Update hcloud-go to v1.35.2 by @4ND3R50N in #554
- Prevent segfault when image nonexistent by @acuteaura in #553
- @acuteaura made their first contribution in #553
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.35.0...v1.35.1
- Implement Server Create Without primary ip on update behavior by @4ND3R50N in #548
- Add support of using deprecated images by @LKaemmerling in #549
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.34.3...v1.35.0
- Create server without primary ips: Fix edge case bug + add test by @4ND3R50N in #546
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.34.2...v1.34.3
- Server Create without primary IPs via public_net by @4ND3R50N in #544
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.34.1...v1.34.2
- Add primary ip documentation by @4ND3R50N in #540
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.34.0...v1.34.1
- Update Dependencies (TF SDK 2.7.1 -> 2.14) by @LKaemmerling in #524
- DataSource Network
idshould be an integer by @guineveresaenger in #525 - Improve documentation by @02bensch in #536
- Add support for primary IPs by @4ND3R50N in #538
- @guineveresaenger made their first contribution in #525
- @02bensch made their first contribution in #536
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.33.2...v1.34.0
- Implement validation on labels as per spec by @4ND3R50N in #522
- Add resourceFloatingIPAssignmentUpdate by @CyberShadow in #501
- Use Go 1.18 for building by @LKaemmerling in #523
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.33.1...v1.33.2
- Datasource hcloud_location & hcloud_locations: Add network_zone by @LKaemmerling in #508
- hcloud_servcer resource: Retry on enabling rescue (reset call) by @LKaemmerling in #511
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.33.0...v1.33.1
- Update image.html.md by @FloMaetschke in #494
- docs: Add missing location (ash) by @dhoppe in #496
- Add missing argument for resource hcloud_ssh_key by @dhoppe in #498
- Make the image property of hcloud_server optional by @fhofherr in #499
- Implement hcloud_firewall_attachment resource by @fhofherr in #500
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.32.2...v1.33.0
- server: resource: fix spelling by @xdevs23 in #480
- Use our own E2E Test runner by @LKaemmerling in #481
- Mark the hcloud_token sensitive by @fhofherr in #479
- Fix nil check for RNDSupporter by @fhofherr in #485
- fix: typo in docs by @RobertHeim in #486
- Adjust tests by @fhofherr in #489
- fix: typo by @RobertHeim in #488
Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.32.1...v1.32.2
- ec487e93 Fix failing tests
- d10e9f0d Fix firewall deletion
- af8300cf Case-insensitive comparison of IPv6 addresses
- 4adfcfa9 Update hcloud-go to v1.33.0
- 9e08f76f hcloud_firewall resource: Remove all resources before deleting the firewall
- 545375f9 hcloud_server resource: Add computed to firewall_ids
- 3a6384cc Add delete and rebuild protection (#432)
- 6eaecafa Add list data source for certificates
- 07b1b53e Add list data source for firewall (#445)
- 45843b99 Add list data source for floating ips (#448)
- 9914e064 Add list data source for images
- 21267191 Add list data source for load balancers
- eb3bcc0c Add list data source for networks (#452)
- a0045237 Add list data source for placement groups (#456)
- 333e38ca Add list data source for server (#434)
- 3a33c154 Add list data source for volumes
- 8de96d9d Allow updating of hcloud_load_balancer_network resource
- 14c10006 Deprecate hcloud_load_balancer resource
targetproperty - 5a7feae8 Do not fail fast on e2e tests
- a3023bfc Fix datasources of server and volume (#431)
- b02858af Fix firewall apply_to if assigned with server resource (#455)
- b595efa6 Fix race condition on server data source test (#446)
- ff44ac8e Improve handling of "Error: cannot remove subnet because servers are attached to it"
- 86f5c990 Refactor list data source for datacenter (#444)
- 984c2e3b Refactor list data source for locations
- 32000fcb Refactor list data source for server types
- 2c8ad4f4 Refactor list data source for ssh keys (#438)
- b5f5073e Remove testing & official support of Terraform < 1.0
- 7e4746f1 hcloud_firewall resource & datasource: Add apply_to possibility
- 54394aea hcloud_rdns: Fix nil pointer when resource does not exist
- 985c1db9 Add dns ptr support for load balancer
- 13421a6a Update docs
- ce6982e0 Use go 1.17 for tests & builds
- f0e2e3c1 Fix date format for certificate states
- e19f2d76 Placement groups (#426)
- 151a0b6a Update hcloud_firewall documentation on how to define port range
- 93059571 Add missing firewall rule description docs
- 9abc5d7e Fix firewall rule description
- 92a07cd0 Add description field to firewall rules
- a0a90b8f Increase amount of retries on firewall deletion
- f397c38d Add a feature request template
- b4619110 Fix hcloud_snapshot resource documentation
- 8d204641 Fix spelling and grammar mistakes
- 219a6355 Update hcloud-go to v1.28.0
- 71f995bf Add issue template
- ad88a85f Add missing docs about the network attribute/argument on hcloud_server and implement the datatransformation of the network for the attribute
- 72a5fb48 Add testcase
- 449710e9 Add tests for terraform 1.0
- 0cfa7c88 Docs: Add missing firewall_ids to hcloud_server resource and datasource
- 80ee6fab Docs: Improve documentation for hcloud_firewall resource to include information about port ranges and the
anykeyword (#381) - 8f1c5c16 Docs: Mark example "hcloud_token" variable as sensitive
- b941c699 Fix non iso8601 timestamp in hcloud_image datasource
- 993b3cd2 Fix tests
- e775c362 Generate Changelog with goreleaser
- 1795d377 Improve error messages from hcloud-go
- 895813eb Improve hcloud_rdns resource documentation and validation of fields
server_idandfloating_ip_idthat should be mutually exclusive - 3cdd11b4 Increase create timeout for servers and snapshots
- 68a3d6a6 Move logic around to make it more readable
- faa15532 Network Attachments: Retry on ServiceError and NoSubnetAvailable Error
- edbddcfe Update dependencies
- 4027dd6f Update terraform SDK to v2.7.0
FEATURES:
hcloud_firewallresource & datasource: Support GRE & ESP protocol in firewall rules
BUG FIXES:
- Fix invalid checksum for release 1.26.1
BUG FIXES:
hcloud_firewalldatasource:destination_ipsmissed in definitionhcloud_certificateresource: panic when parsing certificate chains (#359)
- New Resource
hcloud_managed_certificate - New Resource
hcloud_uploaded_certificate - Deprecated Resource
hcloud_certificate
BUG FIXES:
hcloud_firewallresource: plugin normalized CIDRs silently.
BUG FIXES:
hcloud_firewalldocumentation: fix name offirewall_idsproperty.
FEATURES:
- New Resource:
hcloud_snapshot - New Resource:
hcloud_firewall - New Data Source:
hcloud_firewall
BUG FIXES:
hcloud_serverresource: image had a wrong type (int instead of string) when a server was created from a snapshothcloud_load_balancer_targetresource: force recreation when changing a target attribute (server_id, ip or label_selector)
NOTES:
- The provider is now built with Go 1.16
BUG FIXES:
hcloud_volumedatasource: id is now marked as computed to allow more setups where the id is unknownhcloud_ssh_keydatasource: id is now marked as computed to allow more setups where the id is unknownhcloud_networkdatasource: id is now marked as computed to allow more setups where the id is unknownhcloud_imagedatasource: id is now marked as computed to allow more setups where the id is unknownhcloud_certificatedatasource: id is now marked as computed to allow more setups where the id is unknownhcloud_volumeresource: Automount is now working when you attach an already existing volume to a server.
FEATURES:
- New Datasource:
hcloud_server_type - New Datasource:
hcloud_server_types - New
networkproperty forhcloud_serverresource.
BUG FIXES:
hcloud_volumeresource: A race condition was fixed, that was called when you tried to create multiple volumes for a single serverhcloud_locationsdatasource: Use a stable value as IDs instead of a timestamp. We now use a hash of the concatenation of all location IDs as IDhcloud_datacentersdatasource: Use a stable value as IDs instead of a timestamp. We now use a hash of the concatenation of all datacenters IDs as ID
Notes:
- This release is tested against Terraform 0.13.x and 0.14.x. Testing on 0.12.x was removed, therefore Terraform 0.12.x is no longer officially supported
FEATURES:
hcloud_network_subnetsupports vSwitch Subnets
Notes:
- The provider was updated to use the Terraform Plugin SDK v2.
FEATURES:
- All
hcloud_*resources are now importable.
BUG FIXES:
hcloud_rdnsresource: It is now possible to import the resource as documented.
CHANGED:
- Un-deprecate
network_idproperty ofhcloud_load_balancer_networkandhcloud_server_networkresources. - Change module path from
github.com/terraform-providers/terraform-provider-hcloudtogithub.com/hetznercloud/terraform-provider-hcloud
BUG FIXES:
hcloud_certificateresource: Updating the certificate needs to recreate the certificate.
NOTES:
- The provider is now build with Go 1.15
- We overhauled parts of the underlying test suite
FEATURES:
- Allow updating/resizing a Load Balancer through the
load_balancer_typeofhcloud_load_balancerresource - Add support for Load Balancer Label Selector and IP targets.
CHANGED:
-
Deprecate
network_idproperty ofhcloud_server_networkandhcloud_load_balancer_networkresources. Introduce asubnet_idproperty as replacement.Both resources require a subnet to be created. Since
network_idreferences the network and not the subnet there is no explicit dependency between those resources. This leads to Terraform creating those resources in parallel, which creates a race condition. Users stuck with thenetwork_idproperty can create an explicit dependency on the subnet usingdepends_onto work around this issue.
BUG FIXES:
- Enable and Disable
proxyprotocolon a Load Balancer didn't work after creation - Deleted all Load Balancer services when you changed the
listen_portof one service hcloud_load_balancer_targetwas not idempotent when you add a target that was already defined
NOTES:
- Update to hcloud-go v1.19.0 to fix the bad request issue
NOTES:
- First release under new terraform registry
- Provider was moved to https://github.com/hetznercloud/terraform-provider-hcloud
BUG FIXES:
- Update to hcloud-go v1.18.2 to fix a conflict issue
- Ensure
alias_ipretain the same order.
NOTES:
- This release uses Terraform Plugin SDK v1.15.0.
BUG FIXES
- Set correct defaults for
cookie_nameandcookie_lifetimeproperties ofhcloud_load_balancer_service. - Remove unsupported
httpsprotocol from health check documentation. - Force recreate of
hcloud_networkifip_rangechanges.
FEATURES:
- New Resource:
hcloud_load_balancer_targetwhich allows to add a target to a load balancer. This resource extends thetargetproperty of thehcloud_load_balancerresource.hcloud_load_balancer_targetshould be preferred over thetargetproperty ofhcloud_load_balancer.
FEATURES:
- New Datasource:
hcloud_load_balancer - New Resource:
hcloud_load_balancer - New Resource:
hcloud_load_balancer_service - New Resource:
hcloud_load_balancer_network
BUG FIXES:
- resources/hcloud_network_route: Fix panic when trying to lookup an already deleted Network route
BUG FIXES:
- resource/hcloud_ssh_key: Fix panic when we update labels in SSH keys
- resource/hcloud_server_network: Fix alias ips ignored on creation of server network
- resource/hcloud_server: Use first assigned
ipv6_addressas value instead of the network address. Attention: This can be a breaking change
NOTES:
- This release uses Terraform Plugin SDK v1.8.0.
IMPROVEMENTS:
- resources/hcloud_server: Add retry mechanism for enabling the rescue mode.
NOTES:
- This release uses Terraform Plugin SDK v1.3.0.
NOTES:
- This release uses the Terraform Plugin SDK v1.1.0.
IMPROVEMENTS:
- resources/hcloud_floating_ip: Add
nameattribute to get or set the name of a Floating IP. - datasource/hcloud_floating_ip: Add
nameattribute to get Floating IPs by their name.
NOTES:
- This release is Terraform 0.12.9+ compatible.
- Updated hcloud-go to
v1.16.0 - The provider is now tested and build with Go
1.13
FEATURES:
- New Datasource:
hcloud_ssh_keysLookup all SSH keys.
IMPROVEMENTS:
- resources/hcloud_server_network: Add
mac_addressattribute to get the mac address of the Network interface.
BUG FIXES:
- Fix an error on server creation, when an iso id was given instead of an iso name.
NOTES:
- This release is Terraform 0.12.5+ compatible.
- Updated hcloud-go to
v1.15.1 - Added hcloud-go request debugging when using
TF_LOG.
FEATURES:
- New Resource:
hcloud_networkManage Networks. - New Resource:
hcloud_network_subnetManage Networks Subnets. - New Resource:
hcloud_network_routeManage Networks Routes. - New Resource:
hcloud_server_networkManage attachment between servers and Networks. - New Datasource:
hcloud_networkLookup Networks.
NOTES:
- This release is Terraform 0.12-RC1+ compatible.
IMPROVEMENTS:
-
datasource/hcloud_server: Add
with_statusattribute to get images by their status. -
datasource/hcloud_image: Add
with_statusattribute to get servers by their status. -
datasource/hcloud_volume: Add
with_statusattribute to get volumes by their status. -
Added
with_selectorto all datasources that support label selectors.
NOTES:
- Deprecation: datasource/hcloud_server:
selector, will be removed in the near future. - Deprecation: datasource/hcloud_floating_ip:
selector, will be removed in the near future. - Deprecation: datasource/hcloud_image:
selector, will be removed in the near future. - Deprecation: datasource/hcloud_ssh_key:
selector, will be removed in the near future. - Deprecation: datasource/hcloud_volume:
selector, will be removed in the near future.
BUG FIXES:
- Fix an error on server creation, when a image id was given instead of a image name.
- Fix an missing error on
terraform plan, when using an image name which does not exists.
FEATURES:
- New Datasource:
hcloud_serverLookup a server.
IMPROVEMENTS:
- Add API token length validation
FEATURES:
- New Datasource:
hcloud_locationLookup a location. - New Datasource:
hcloud_locationsLookup all locations. - New Datasource:
hcloud_datacenterLookup a datacenter. - New Datasource:
hcloud_datacentersLookup all datacenters. - Volume Automounting is now available for
hcloud_volumeandhcloud_volume_attachment
IMPROVEMENTS:
- datasource/hcloud_image: Add
most_recentattribute to get the latest image when multiple images has the same label.
BUG FIXES:
- Fix an error on volume_attachment creation, when server was locked.
FEATURES:
- New Resource:
hcloud_volume_attachmentManage the attachment between volumes and servers.
IMPROVEMENTS:
- resources/hcloud_server: Add
backupsattribute to enable or disable backups.
NOTES:
- Read Only: resources/hcloud_server:
backup_window, removed the ability to set the attribute. This attribute is now read only. - Updated hcloud-go to
v1.11.0
FEATURES:
- New Resource:
hcloud_volumeManage volumes. - New Datasource:
hcloud_volumeLookup volumes.
NOTES:
- Deprecation: resource/hcloud_server:
backup_window, will be removed in the near future.
FEATURES:
- New Resource:
hcloud_rndsManage reverse DNS entries for servers and Floating IPs.
- New Resource:
hcloud_floating_ip_assignmentManage the association between Floating IPs and servers.
- New Datasource:
hcloud_floating_ipLookup Floating ips. - New Datasource:
hcloud_imageLookup images. - New Datasource:
hcloud_ssh_keyLookup SSH Keys. - New Provider Config:
poll_intervalConfigures the interval in which actions are polled by the client. Default500ms. Increase this interval if you run into rate limiting errors.
IMPROVEMENTS:
- resource/hcloud_server: Add
ipv6_networkattribute.
NOTES:
- Updated hcloud-go to
v1.9.0
NOTES:
- Switched from MIT licence to MPL2
- removed
reverse_dnsproperty ofhcloud_floating_ip, because it was not useable, see #32 - improved test coverage
- updated terraform to
v0.11.7 - updated hcloud-go to
v1.6.0 - added log when waiting for an action to complete
BUG FIXES:
- delete records from state that are invalid or are not found by the server
- resource update methods return the result of the read method
- Save hashsum of
user_data, existing state is migrated - update hcloud-go to v1.4.0
- update terraform from v0.11.2 to v0.11.3
- Initial release