azurerm_role_management_policyNivis Nix constructor for the azurerm_role_management_policy 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,
role_definition_id,
scope,
id ? null,
activation_rules ? null,
active_assignment_rules ? null,
eligible_assignment_rules ? null,
notification_rules ? null,
timeouts ? null,
overrides ? {}
}Required arguments
role_definition_idscope
Optional arguments
id(defaults tonull)activation_rules(defaults tonull)active_assignment_rules(defaults tonull)eligible_assignment_rules(defaults tonull)notification_rules(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
descriptionname
Example
azurerm_role_management_policy {
name = "role_management_policy";
role_definition_id = …; # required
scope = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.