Primary IPs assignee_type behavior change
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.
Features
- primary-ip:
assignee_typeattribute is now optional (#1395)
Bug Fixes
- firewall: apply_to update removes firewall from state when target resource is not found (#1380)