azuread_app_role_assignment

Nivis Nix constructor for the azuread_app_role_assignment resource (provider azuread). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  app_role_id,
  principal_object_id,
  resource_object_id,
  id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • app_role_id
  • principal_object_id
  • resource_object_id
Optional arguments
  • id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • principal_display_name
  • principal_type
  • resource_display_name
Example
azuread_app_role_assignment {
  name = "app_role_assignment";
  app_role_id = …;  # required
  principal_object_id = …;  # required
  resource_object_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.