azuread_service_principalNivis Nix constructor for the azuread_service_principal 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,
client_id,
account_enabled ? null,
alternative_names ? null,
app_role_assignment_required ? null,
description ? null,
id ? null,
login_url ? null,
notes ? null,
notification_email_addresses ? null,
owners ? null,
preferred_single_sign_on_mode ? null,
tags ? null,
use_existing ? null,
feature_tags ? null,
features ? null,
saml_single_sign_on ? null,
timeouts ? null,
overrides ? {}
}Required arguments
client_id
Optional arguments
account_enabled(defaults tonull)alternative_names(defaults tonull)app_role_assignment_required(defaults tonull)description(defaults tonull)id(defaults tonull)login_url(defaults tonull)notes(defaults tonull)notification_email_addresses(defaults tonull)owners(defaults tonull)preferred_single_sign_on_mode(defaults tonull)tags(defaults tonull)use_existing(defaults tonull)feature_tags(defaults tonull)features(defaults tonull)saml_single_sign_on(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
app_role_idsapp_rolesapplication_tenant_iddisplay_namehomepage_urllogout_urloauth2_permission_scope_idsoauth2_permission_scopesobject_idredirect_urissaml_metadata_urlservice_principal_namessign_in_audiencetype
Example
azuread_service_principal {
name = "service_principal";
client_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.