azurerm_pim_active_role_assignmentNivis Nix constructor for the azurerm_pim_active_role_assignment resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
principal_id,
role_definition_id,
scope,
id ? null,
justification ? null,
schedule ? null,
ticket ? null,
timeouts ? null,
overrides ? {}
}Required arguments
principal_idrole_definition_idscope
Optional arguments
id(defaults tonull)justification(defaults tonull)schedule(defaults tonull)ticket(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
principal_type
Example
azurerm_pim_active_role_assignment {
name = "pim_active_role_assignment";
principal_id = …; # required
role_definition_id = …; # required
scope = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.