-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
80 lines (74 loc) · 2.91 KB
/
outputs.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
output "key_vault_secret" {
description = "azurerm_key_vault_secret results"
value = {
for key_vault_secret in keys(azurerm_key_vault_secret.key_vault_secret) :
key_vault_secret => {
name = azurerm_key_vault_secret.key_vault_secret[key_vault_secret].name
value = azurerm_key_vault_secret.key_vault_secret[key_vault_secret].value
}
}
}
output "user" {
description = "azuread_user results"
value = {
for user in keys(azuread_user.user) :
user => {
id = azuread_user.user[user].id
display_name = azuread_user.user[user].display_name
user_principal_name = azuread_user.user[user].user_principal_name
}
}
}
output "group" {
description = "azuread_group results"
value = {
for group in keys(azuread_group.group) :
group => {
id = azuread_group.group[group].id
display_name = azuread_group.group[group].display_name
}
}
}
output "application" {
description = "azuread_application results"
value = {
for application in keys(azuread_application.application) :
application => {
application_id = azuread_application.application[application].application_id
object_id = azuread_application.application[application].object_id
}
}
}
output "application_password" {
description = "azuread_application_password results"
value = {
for application_password in keys(azuread_application_password.application_password) :
application_password => {
display_name = azuread_application_password.application_password[application_password].display_name
key_id = azuread_application_password.application_password[application_password].key_id
value = azuread_application_password.application_password[application_password].value
}
}
}
output "service_principal" {
description = "azuread_service_principal results"
value = {
for service_principal in keys(azuread_service_principal.service_principal) :
service_principal => {
display_name = azuread_service_principal.service_principal[service_principal].display_name
object_id = azuread_service_principal.service_principal[service_principal].object_id
}
}
}
output "service_principal_password" {
description = "azuread_service_principal_password results"
value = {
for service_principal_password in keys(azuread_service_principal_password.service_principal_password) :
service_principal_password => {
key_id = azuread_service_principal_password.service_principal_password[service_principal_password].key_id
display_name = azuread_service_principal_password.service_principal_password[service_principal_password].display_name
end_date = azuread_service_principal_password.service_principal_password[service_principal_password].end_date
value = azuread_service_principal_password.service_principal_password[service_principal_password].value
}
}
}