hcloud_primary_ipNivis Nix constructor for the hcloud_primary_ip resource (provider hcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
type,
assignee_id ? null,
assignee_type ? null,
auto_delete ? null,
datacenter ? null,
delete_protection ? null,
labels ? null,
location ? null,
cfg_name ? null,
overrides ? {}
}Required arguments
type
Optional arguments
assignee_id(defaults tonull)assignee_type(defaults tonull)auto_delete(defaults tonull)datacenter(defaults tonull)delete_protection(defaults tonull)labels(defaults tonull)location(defaults tonull)cfg_name(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idip_addressip_network
Example
hcloud_primary_ip {
name = "primary_ip";
type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.