rancher2_global_roleNivis Nix constructor for the rancher2_global_role 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,
annotations ? null,
description ? null,
id ? null,
inherited_cluster_roles ? null,
labels ? null,
cfg_name ? null,
new_user_default ? null,
inherited_namespaced_rules ? null,
rules ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
annotations(defaults tonull)description(defaults tonull)id(defaults tonull)inherited_cluster_roles(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)new_user_default(defaults tonull)inherited_namespaced_rules(defaults tonull)rules(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
builtinuuid
Example
rancher2_global_role {
name = "global_role";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.