dns_ptr_recordNivis Nix constructor for the dns_ptr_record resource (provider dns). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{ name, ptr, zone, cfg_name ? null, ttl ? null, overrides ? {} }Required arguments
ptrzone
Optional arguments
cfg_name(defaults tonull)ttl(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
id
Example
dns_ptr_record {
name = "ptr_record";
ptr = …; # required
zone = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.