-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
227 lines (189 loc) · 5.97 KB
/
variables.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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "label_order" {
type = list(any)
default = []
description = "Label order, e.g. `name`,`application`."
}
variable "managedby" {
type = string
default = "anmol@clouddrove.com"
description = "ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'."
}
variable "attributes" {
type = list(any)
default = []
description = "Additional attributes (e.g. `1`)."
}
variable "repository" {
type = string
default = "https://github.com/clouddrove/terraform-aws-active-directory"
description = "Terraform current module repo"
}
#Description : Active Directory Terraform modules variables
variable "enabled" {
type = bool
default = true
description = "Flag to control the module creation."
}
variable "vpc_settings" {
type = map(string)
default = {}
description = "(Required for SimpleAD and MicrosoftAD) VPC related information about the directory. Fields documented below."
}
variable "connect_settings" {
type = map(string)
default = {}
description = "(Required for ADConnector) Connector related information about the directory. Fields documented below."
}
variable "ad_name" {
default = "corp.example.com"
type = string
description = " The fully qualified name for the directory, such as corp.example.com"
}
variable "ad_password" {
default = "xyzsf58f5fqar"
type = string
description = "The password for the directory administrator or connector user."
sensitive = true
}
variable "ad_size" {
default = "Small"
type = string
description = "The size of the directory (Small or Large are accepted values)."
}
variable "ip_whitelist" {
default = ["51.79.69.69/32"]
type = list(string)
description = "List of IP's to for whitelist"
}
variable "custom_policy" {
default = ""
type = string
description = "Custom policy ARN"
}
variable "enable_internet_access" {
default = false
type = bool
description = "Indicates whether internet access is enabled for your WorkSpaces."
}
variable "change_compute_type" {
default = true
type = bool
description = "Whether WorkSpaces directory users can change the compute type (bundle) for their workspace."
}
variable "increase_volume_size" {
default = true
type = bool
description = "Whether WorkSpaces directory users can increase the volume size of the drives on their workspace."
}
variable "rebuild_workspace" {
default = true
type = bool
description = "Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state."
}
variable "restart_workspace" {
default = true
type = bool
description = "Whether WorkSpaces directory users can restart their workspace."
}
variable "switch_running_mode" {
default = true
type = bool
description = "Whether WorkSpaces directory users can switch the running mode of their workspace."
}
variable "device_type_android" {
default = "ALLOW"
type = string
description = " Indicates whether users can use Android devices to access their WorkSpaces."
}
variable "device_type_linux" {
default = "ALLOW"
type = string
description = " Indicates whether users can use Linux devices to access their WorkSpaces."
}
variable "device_type_chromeos" {
default = "ALLOW"
type = string
description = "Indicates whether users can use Chromebooks to access their WorkSpaces."
}
variable "device_type_ios" {
default = "ALLOW"
type = string
description = "Indicates whether users can use iOS devices to access their WorkSpaces."
}
variable "device_type_osx" {
default = "ALLOW"
type = string
description = "Indicates whether users can use macOS clients to access their WorkSpaces."
}
variable "device_type_web" {
default = "ALLOW"
type = string
description = "Indicates whether users can access their WorkSpaces through a web browser."
}
variable "device_type_windows" {
default = "ALLOW"
type = string
description = "Indicates whether users can use Windows clients to access their WorkSpaces."
}
variable "device_type_zeroclient" {
default = "ALLOW"
type = string
description = "Indicates whether users can use zero client devices to access their WorkSpaces."
}
variable "enable_maintenance_mode" {
default = false
type = bool
description = "Indicates whether maintenance mode is enabled for your WorkSpaces."
}
variable "user_enabled_as_local_administrator" {
default = false
type = bool
description = "Indicates whether users are local administrators of their WorkSpaces."
}
variable "type" {
default = "SimpleAD"
type = string
description = "The directory type (SimpleAD, ADConnector or MicrosoftAD are accepted values)."
}
variable "enable_sso" {
default = false
type = bool
description = "Whether to enable single-sign on for the directory. Requires alias."
}
variable "alias" {
default = ""
type = string
description = "The directory type (SimpleAD, ADConnector or MicrosoftAD are accepted values)."
}
variable "description" {
default = "Default Active Directory"
type = string
description = "A textual description for the directory."
}
variable "short_name" {
default = "CORP"
type = string
description = "The short name of the directory, such as CORP."
}
variable "edition" {
default = "Standard"
type = string
description = "The MicrosoftAD edition (Standard or Enterprise)."
}
variable "subnet_ids" {
default = null
type = list(string)
description = "List of subnets in VPC"
}