rancher2_project_role_template_bindingNivis Nix constructor for the rancher2_project_role_template_binding 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,
project_id,
role_template_id,
annotations ? null,
group_id ? null,
group_principal_id ? null,
id ? null,
labels ? null,
cfg_name ? null,
user_id ? null,
user_principal_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
project_idrole_template_id
Optional arguments
annotations(defaults tonull)group_id(defaults tonull)group_principal_id(defaults tonull)id(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)user_id(defaults tonull)user_principal_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
rancher2_project_role_template_binding {
name = "project_role_template_binding";
project_id = …; # required
role_template_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.