Skip to content

Latest commit

 

History

History
1412 lines (898 loc) · 63.8 KB

File metadata and controls

1412 lines (898 loc) · 63.8 KB

Changelog

Compare to previous version

Features

  • 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)

Bug Fixes

  • server: only write ipv6_network value to state if defined (#1526) (c7ffc2f)

Compare to previous version

Features

  • load_balancer_type: add deprecation details and warnings (#1512) (44a81e1)
  • server_type: add deprecation warnings (#1512) (44a81e1)

Bug Fixes

  • zone_record: set identity after read/update (#1507) (daf4b85)

Compare to previous version

Removed datacenter from Server and Primary IP

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"
}

Features

  • remove datacenter from primary ips and servers (#1501) (59a48f5)

Bug Fixes

  • server: do not validate unknown network config (#1493) (f180913)

Compare to previous version

Bug Fixes

  • primary_ip: only validate assignee attributes when known (#1487) (8fc1a69)
  • server: inconsistent image attribute when using data source (#1489) (3fefa12)

Datacenter data sources are deprecated

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.

Features

  • image: warn when using a deprecated image (#1456)
  • deprecate hcloud_datacenter(s) data sources (#1463)

Bug Fixes

  • handle invalid input errors without details (#1453)

Features

  • primary-ip: make auto_delete attribute optional (#1429)
  • server: remove allow_deprecated_images from hcloud_server (#1435)

Bug Fixes

  • primary-ip: do not update assignee on unknown assignee_type (#1440)

Features

  • load-balancer: support timeout_idle http 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)

Bug Fixes

  • rdns: gracefully handle not found errors (#1419)
  • server: handle ipv6 when removing public net block (#1427)
  • server: allow both network_id and subnet_id to be defined (#1430)

Features

  • server: add subnet_id support (#1278)

Primary IPs assignee_type behavior change

The hcloud_primary_ip resource will now:

  • raise a warning if assignee_type attribute is configured without assignee_id attribute
  • raise an error if assignee_id attribute is configured without assignee_type attribute

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.

Features

  • primary-ip: assignee_type attribute is now optional (#1395)

Bug Fixes

  • firewall: apply_to update removes firewall from state when target resource is not found (#1380)

Available and recommended Server Types have been moved

  • Data sources hcloud_datacenter/hcloud_datacenters[]: Attributes supported_server_type_ids[] and available_server_type_ids[] have been deprecated.
  • Data sources hcloud_server_type/hcloud_server_types[]: Attributes locations[].available and locations[].recommended have been added as a replacement for the deprecated datacenter attributes.

See the changelog for more details.

Features

  • server: implement actions for poweron, poweroff, reset, and reboot (#1342)
  • datacenter, server_type: move available and recommended to server_type (#1378)

Bug Fixes

  • 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)

Bug Fixes

  • storage-box: subaccount name was ignored (#1344)

Features

  • add zone_record resource (#1228)
  • Storage Box support no longer experimental (#1329)
  • floating-ip: unassign from server before deleting it (#1335)

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)

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)

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)

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)

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)

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)

Bug Fixes

  • 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 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)

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)

Features

  • server: add private networks in data_source (#1115)

Bug Fixes

  • 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.

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)

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)

1.49.1 (2024-11-21)

Bug Fixes

  • remove server network interface workaround (#1021) (be330df)

1.49.0 (2024-11-07)

Features

Bug Fixes

1.48.1 (2024-09-06)

Bug Fixes

  • missing deprecation info in server type list data source (#984) (c12560e)

1.48.0 (2024-07-25)

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

1.47.0 (2024-05-02)

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)

1.46.1 (2024-04-05)

Bug Fixes

  • server: cannot update placement group (#902) (fa5f98c)

1.46.0 (2024-03-26)

Features

Bug Fixes

  • 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)

Features

  • provider: choose between constant & exponential backoff for actions (#798) (fa7ea1f)
  • server: add primary_disk_size attribute 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)

1.44.1 (2023-10-05)

Bug Fixes

1.44.0 (2023-10-04)

Features

  • setup initial plugin framework skaffolding (#749) (5c284e2)

Bug Fixes

  • poll_interval not working as expected (6ef7467)

1.43.0 (2023-09-20)

Features

  • build with Go 1.21 (#753) (f68e079)
  • server: Optional graceful shutdown before deleting servers (#755) (0c477a3)

1.42.1 (2023-08-14)

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 nil instead of "<nil>" with IPv4/IPv6 disabled (#723) (6cd2a37)
  • use exponential backoff when retrying actions (#735) (d51ee4a)

1.42.0 (2023-07-13)

Features

  • image: add filter include_deprecated to datasources (#685) (#717) (9f039ba)

Bug Fixes

  • 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)

Features

  • network: add support for exposing routes to vswitch connection (#703) (f213550)

1.40.0 (2023-06-13)

Features

Bug Fixes

  • server: invalid ipv6_address nil1 when no IPv6 is used (#689) (2912f45)

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! 🚀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

What's Changed

  • 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

v1.37.0

What's Changed

  • 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

New Contributors

  • @akirak made their first contribution in #606
  • @samcday made their first contribution in #631

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.36.2...v1.37.0

v1.36.2

What's Changed

  • 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

v1.36.1

What's Changed

  • 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

v1.36.0

What's Changed

  • 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

New Contributors

  • @apricote made their first contribution in #582

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.35.2...v1.36.0

v1.35.2

What's Changed

  • 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

New Contributors

  • @komandar made their first contribution in #559
  • @ekeih made their first contribution in #564

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.35.1...v1.35.2

v1.35.1

What's Changed

  • 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

New Contributors

  • @acuteaura made their first contribution in #553

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.35.0...v1.35.1

v1.35.0

What's Changed

  • 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

v1.34.3

What's Changed

  • 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

v1.34.2

What's Changed

  • 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

v1.34.1

What's Changed

  • Add primary ip documentation by @4ND3R50N in #540

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.34.0...v1.34.1

v1.34.0

What's Changed

  • Update Dependencies (TF SDK 2.7.1 -> 2.14) by @LKaemmerling in #524
  • DataSource Network id should be an integer by @guineveresaenger in #525
  • Improve documentation by @02bensch in #536
  • Add support for primary IPs by @4ND3R50N in #538

New Contributors

  • @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

v1.33.2

What's Changed

  • 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

New Contributors

  • @4ND3R50N made their first contribution in #522
  • @CyberShadow made their first contribution in #501

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.33.1...v1.33.2

v1.33.1

What's Changed

  • 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

v1.33.0

What's Changed

  • 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

New Contributors

  • @FloMaetschke made their first contribution in #494
  • @dhoppe made their first contribution in #496

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.32.2...v1.33.0

v1.32.2

What's Changed

  • 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

New Contributors

  • @xdevs23 made their first contribution in #480
  • @RobertHeim made their first contribution in #486

Full Changelog: https://github.com/hetznercloud/terraform-provider-hcloud/compare/v1.32.1...v1.32.2

v1.32.1

  • ec487e93 Fix failing tests
  • d10e9f0d Fix firewall deletion

v1.32.0

  • 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

v1.31.1

  • 545375f9 hcloud_server resource: Add computed to firewall_ids

v1.31.0

What's Changed

  • 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 target property
  • 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

v1.30.0

What's Changed

  • 985c1db9 Add dns ptr support for load balancer
  • 13421a6a Update docs
  • ce6982e0 Use go 1.17 for tests & builds

v1.29.0

What's Changed

  • f0e2e3c1 Fix date format for certificate states
  • e19f2d76 Placement groups (#426)
  • 151a0b6a Update hcloud_firewall documentation on how to define port range

v1.28.1

What's Changed

  • 93059571 Add missing firewall rule description docs
  • 9abc5d7e Fix firewall rule description

v1.28.0

What's Changed

  • 92a07cd0 Add description field to firewall rules
  • a0a90b8f Increase amount of retries on firewall deletion

v1.27.2

What's Changed

  • 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

v1.27.1

What's Changed

  • 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 any keyword (#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_id and floating_ip_id that 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

1.27.0 (June 17, 2021)

FEATURES:

  • hcloud_firewall resource & datasource: Support GRE & ESP protocol in firewall rules

1.26.2 (May 28, 2021)

BUG FIXES:

  • Fix invalid checksum for release 1.26.1

1.26.1 (May 28, 2021)

BUG FIXES:

  • hcloud_firewall datasource: destination_ips missed in definition
  • hcloud_certificate resource: panic when parsing certificate chains (#359)

1.26.0 (March 30, 2021)

  • New Resource hcloud_managed_certificate
  • New Resource hcloud_uploaded_certificate
  • Deprecated Resource hcloud_certificate

1.25.2 (March 16, 2021)

BUG FIXES:

  • hcloud_firewall resource: plugin normalized CIDRs silently.

1.25.1 (March 10, 2021)

BUG FIXES:

  • hcloud_firewall documentation: fix name of firewall_ids property.

1.25.0 (March 10, 2021)

FEATURES:

  • New Resource: hcloud_snapshot
  • New Resource: hcloud_firewall
  • New Data Source: hcloud_firewall

BUG FIXES:

  • hcloud_server resource: image had a wrong type (int instead of string) when a server was created from a snapshot
  • hcloud_load_balancer_target resource: force recreation when changing a target attribute (server_id, ip or label_selector)

NOTES:

  • The provider is now built with Go 1.16

1.24.1 (February 04, 2021)

BUG FIXES:

  • hcloud_volume datasource: id is now marked as computed to allow more setups where the id is unknown
  • hcloud_ssh_key datasource: id is now marked as computed to allow more setups where the id is unknown
  • hcloud_network datasource: id is now marked as computed to allow more setups where the id is unknown
  • hcloud_image datasource: id is now marked as computed to allow more setups where the id is unknown
  • hcloud_certificate datasource: id is now marked as computed to allow more setups where the id is unknown
  • hcloud_volume resource: Automount is now working when you attach an already existing volume to a server.

1.24.0 (January 12, 2021)

FEATURES:

  • New Datasource: hcloud_server_type
  • New Datasource: hcloud_server_types
  • New network property for hcloud_server resource.

BUG FIXES:

  • hcloud_volume resource: A race condition was fixed, that was called when you tried to create multiple volumes for a single server
  • hcloud_locations datasource: Use a stable value as IDs instead of a timestamp. We now use a hash of the concatenation of all location IDs as ID
  • hcloud_datacenters datasource: 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

1.23.0 (November 03, 2020)

FEATURES:

  • hcloud_network_subnet supports vSwitch Subnets

Notes:

  • The provider was updated to use the Terraform Plugin SDK v2.

1.22.0 (October 05, 2020)

FEATURES:

  • All hcloud_* resources are now importable.

BUG FIXES:

  • hcloud_rdns resource: It is now possible to import the resource as documented.

1.21.0 (September 09, 2020)

CHANGED:

  • Un-deprecate network_id property of hcloud_load_balancer_network and hcloud_server_network resources.
  • Change module path from github.com/terraform-providers/terraform-provider-hcloud to github.com/hetznercloud/terraform-provider-hcloud

1.20.1 (August 18, 2020)

BUG FIXES:

  • hcloud_certificate resource: 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

1.20.0 (August 10, 2020)

FEATURES:

  • Allow updating/resizing a Load Balancer through the load_balancer_type of hcloud_load_balancer resource
  • Add support for Load Balancer Label Selector and IP targets.

1.19.2 (July 28, 2020)

CHANGED:

  • Deprecate network_id property of hcloud_server_network and hcloud_load_balancer_network resources. Introduce a subnet_id property as replacement.

    Both resources require a subnet to be created. Since network_id references 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 the network_id property can create an explicit dependency on the subnet using depends_on to work around this issue.

BUG FIXES:

  • Enable and Disable proxyprotocol on a Load Balancer didn't work after creation
  • Deleted all Load Balancer services when you changed the listen_port of one service
  • hcloud_load_balancer_target was 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

1.19.1 (July 16, 2020)

NOTES:

1.19.0 (July 10, 2020)

BUG FIXES:

  • Update to hcloud-go v1.18.2 to fix a conflict issue
  • Ensure alias_ip retain the same order.

NOTES:

  • This release uses Terraform Plugin SDK v1.15.0.

1.18.1 (July 02, 2020)

BUG FIXES

  • Set correct defaults for cookie_name and cookie_lifetime properties of hcloud_load_balancer_service.
  • Remove unsupported https protocol from health check documentation.
  • Force recreate of hcloud_network if ip_range changes.

1.18.0 (June 30, 2020)

FEATURES:

  • New Resource: hcloud_load_balancer_target which allows to add a target to a load balancer. This resource extends the target property of the hcloud_load_balancer resource. hcloud_load_balancer_target should be preferred over the target property of hcloud_load_balancer.

1.17.0 (June 22, 2020)

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

1.16.0 (March 24, 2020)

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_address as value instead of the network address. Attention: This can be a breaking change

NOTES:

  • This release uses Terraform Plugin SDK v1.8.0.

1.15.0 (November 11, 2019)

IMPROVEMENTS:

  • resources/hcloud_server: Add retry mechanism for enabling the rescue mode.

NOTES:

  • This release uses Terraform Plugin SDK v1.3.0.

1.14.0 (October 01, 2019)

NOTES:

  • This release uses the Terraform Plugin SDK v1.1.0.

1.13.0 (September 19, 2019)

IMPROVEMENTS:

  • resources/hcloud_floating_ip: Add name attribute to get or set the name of a Floating IP.
  • datasource/hcloud_floating_ip: Add name attribute 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

1.12.0 (July 29, 2019)

FEATURES:

  • New Datasource: hcloud_ssh_keys Lookup all SSH keys.

IMPROVEMENTS:

  • resources/hcloud_server_network: Add mac_address attribute 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.

1.11.0 (July 10, 2019)

FEATURES:

  • New Resource: hcloud_network Manage Networks.
  • New Resource: hcloud_network_subnet Manage Networks Subnets.
  • New Resource: hcloud_network_route Manage Networks Routes.
  • New Resource: hcloud_server_network Manage attachment between servers and Networks.
  • New Datasource: hcloud_network Lookup Networks.

1.10.0 (May 14, 2019)

NOTES:

  • This release is Terraform 0.12-RC1+ compatible.

1.9.0 (March 15, 2019)

IMPROVEMENTS:

  • datasource/hcloud_server: Add with_status attribute to get images by their status.

  • datasource/hcloud_image: Add with_status attribute to get servers by their status.

  • datasource/hcloud_volume: Add with_status attribute to get volumes by their status.

  • Added with_selector to 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.

1.8.1 (March 12, 2019)

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.

1.8.0 (February 06, 2019)

FEATURES:

  • New Datasource: hcloud_server Lookup a server.

IMPROVEMENTS:

  • Add API token length validation

1.7.0 (December 18, 2018)

FEATURES:

  • New Datasource: hcloud_location Lookup a location.
  • New Datasource: hcloud_locations Lookup all locations.
  • New Datasource: hcloud_datacenter Lookup a datacenter.
  • New Datasource: hcloud_datacenters Lookup all datacenters.
  • Volume Automounting is now available for hcloud_volume and hcloud_volume_attachment

1.6.0 (December 03, 2018)

IMPROVEMENTS:

  • datasource/hcloud_image: Add most_recent attribute 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.

1.5.0 (November 16, 2018)

FEATURES:

  • New Resource: hcloud_volume_attachment Manage the attachment between volumes and servers.

IMPROVEMENTS:

  • resources/hcloud_server: Add backups attribute 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

1.4.0 (October 18, 2018)

FEATURES:

  • New Resource: hcloud_volume Manage volumes.
  • New Datasource: hcloud_volume Lookup volumes.

NOTES:

  • Deprecation: resource/hcloud_server: backup_window, will be removed in the near future.

1.3.0 (September 12, 2018)

FEATURES:

  • New Resource: hcloud_rnds Manage reverse DNS entries for servers and Floating IPs.
  • New Resource: hcloud_floating_ip_assignment Manage the association between Floating IPs and servers.
  • New Datasource: hcloud_floating_ip Lookup Floating ips.
  • New Datasource: hcloud_image Lookup images.
  • New Datasource: hcloud_ssh_key Lookup SSH Keys.
  • New Provider Config: poll_interval Configures the interval in which actions are polled by the client. Default 500ms. Increase this interval if you run into rate limiting errors.

IMPROVEMENTS:

  • resource/hcloud_server: Add ipv6_network attribute.

NOTES:

  • Updated hcloud-go to v1.9.0

1.2.0 (June 07, 2018)

NOTES:

  • Switched from MIT licence to MPL2
  • removed reverse_dns property of hcloud_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

1.1.0 (March 2, 2018)

  • 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

1.0.0 (January 30, 2018)

  • Initial release