github hetznercloud/terraform-provider-hcloud v1.62.0

6 hours ago

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)

Don't miss a new terraform-provider-hcloud release

NewReleases is sending notifications on new releases.