azurerm_pim_eligible_role_assignment

Nivis Nix constructor for the azurerm_pim_eligible_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,
  condition ? null,
  condition_version ? null,
  id ? null,
  justification ? null,
  schedule ? null,
  ticket ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • principal_id
  • role_definition_id
  • scope
Optional arguments
  • condition (defaults to null)
  • condition_version (defaults to null)
  • id (defaults to null)
  • justification (defaults to null)
  • schedule (defaults to null)
  • ticket (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • principal_type
Example
azurerm_pim_eligible_role_assignment {
  name = "pim_eligible_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.