rancher2_userNivis Nix constructor for the rancher2_user resource (provider rancher2). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
password,
username,
annotations ? null,
enabled ? null,
id ? null,
labels ? null,
must_change_password ? null,
cfg_name ? null,
timeouts ? null,
overrides ? {}
}Required arguments
passwordusername
Optional arguments
annotations(defaults tonull)enabled(defaults tonull)id(defaults tonull)labels(defaults tonull)must_change_password(defaults tonull)cfg_name(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
principal_ids
Example
rancher2_user {
name = "user";
password = …; # required
username = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.