-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
31 lines (26 loc) · 1.06 KB
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
output "service_principal_name" {
description = "The object id of service principal. Can be used to assign roles to user."
value = azuread_service_principal.main.display_name
}
output "service_principal_object_id" {
description = "The object id of service principal. Can be used to assign roles to user."
value = azuread_service_principal.main.object_id
}
output "service_principal_client_id" {
description = "The client ID of the service principal. Can be used to assign roles to users."
value = azuread_service_principal.main.client_id
}
output "client_id" {
description = "The client ID of the Azure AD application created."
value = azuread_application.main.client_id
}
output "client_secret" {
description = "Password for service principal."
value = azuread_service_principal_password.main[*].value
sensitive = true
}
output "service_principal_password" {
description = "Password for service principal."
value = azuread_service_principal_password.main[*].value
sensitive = true
}