azurerm_role_management_policy

Nivis 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_id
  • scope
Optional arguments
  • id (defaults to null)
  • activation_rules (defaults to null)
  • active_assignment_rules (defaults to null)
  • eligible_assignment_rules (defaults to null)
  • notification_rules (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • description
  • name
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.