-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
160 lines (134 loc) · 3.98 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
output "id" {
description = "The ID of the user."
value = okta_user.this.id
}
output "status" {
description = "The status of the user."
value = okta_user.this.status
}
output "first_name" {
description = "The first name of the user."
value = okta_user.this.first_name
}
output "middle_name" {
description = "The middle name of the user."
value = okta_user.this.middle_name
}
output "last_name" {
description = "The family name of the user."
value = okta_user.this.last_name
}
output "honorific_prefix" {
description = "An honorific prefix preceding a name."
value = okta_user.this.honorific_prefix
}
output "honorific_suffix" {
description = "An honorific suffix following a name."
value = okta_user.this.honorific_suffix
}
output "nick_name" {
description = "The casual name of the user."
value = okta_user.this.nick_name
}
output "display_name" {
description = "The display name of the user."
value = okta_user.this.display_name
}
output "email" {
description = "The primary email address of the user."
value = okta_user.this.email
}
output "secondary_email" {
description = "The secondary email address of the user."
value = okta_user.this.second_email
}
output "phone" {
description = "The phone number of the user for the work."
value = okta_user.this.mobile_phone
}
output "primary_phone" {
description = "The primary phone number of the user."
value = okta_user.this.primary_phone
}
output "profile_url" {
description = "The URL of the user's online profile."
value = okta_user.this.profile_url
}
output "address_info" {
description = "The address information of the user."
value = {
country_code = okta_user.this.country_code
state = okta_user.this.state
city = okta_user.this.city
street_address = okta_user.this.street_address
postal_address = okta_user.this.postal_address
zip_code = okta_user.this.zip_code
}
}
output "employee_number" {
description = "The company-assigned unique identifier for the user."
value = okta_user.this.employee_number
}
output "title" {
description = "The title of the user."
value = okta_user.this.title
}
output "manager" {
description = "The manager information of the user."
value = {
id = okta_user.this.manager_id
name = okta_user.this.manager
}
}
output "organization" {
description = "The organization name of the user."
value = okta_user.this.organization
}
output "division" {
description = "The division name of the user."
value = okta_user.this.division
}
output "department" {
description = "The department name of the user."
value = okta_user.this.department
}
output "cost_center" {
description = "The name of the cost center assigned to the user."
value = okta_user.this.cost_center
}
output "custom_attributes" {
description = "The object for custom profile attributes of the user."
value = jsondecode(okta_user.this.custom_profile_attributes)
}
output "preferences" {
description = "The configurations of the user preferences."
value = {
locale = okta_user.this.locale
timezone = okta_user.this.timezone
preferred_language = okta_user.this.preferred_language
}
}
output "groups" {
description = <<EOF
The information for the group memberships of the user.
EOF
value = [
for group in data.okta_group.this :
group.name
]
}
output "admin_role_assignments" {
description = "The configurations for admin roles assigned to the Okta user."
value = {
for assignment in var.admin_role_assignments :
assignment.admin_role => {
admin_role = assignment.admin_role
target_apps = assignment.target_apps
target_groups = assignment.target_groups
}
}
}
output "admin_role_notification_enabled" {
description = "Whether to send the default Okta administrator emails."
value = var.admin_role_notification_enabled
}