ns1_redirectNivis Nix constructor for the ns1_redirect resource (provider ns1). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
domain,
path,
target,
certificate_id ? null,
forwarding_mode ? null,
forwarding_type ? null,
https_forced ? null,
query_forwarding ? null,
tags ? null,
overrides ? {}
}Required arguments
domainpathtarget
Optional arguments
certificate_id(defaults tonull)forwarding_mode(defaults tonull)forwarding_type(defaults tonull)https_forced(defaults tonull)query_forwarding(defaults tonull)tags(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
https_enabledidlast_updated
Example
ns1_redirect {
name = "redirect";
domain = …; # required
path = …; # required
target = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.