-
Notifications
You must be signed in to change notification settings - Fork 5
/
delivery_groups.tf
49 lines (49 loc) · 1.38 KB
/
delivery_groups.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
resource "citrix_delivery_group" "example-delivery-group" {
name = var.delivery_group_name
associated_machine_catalogs = [
{
machine_catalog = citrix_machine_catalog.example-catalog.id
machine_count = 1
}
]
desktops = [
{
published_name = "Example Desktop"
description = "Description for example desktop"
restricted_access_users = {
allow_list = var.allow_list
}
enabled = true
enable_session_roaming = false
}
]
autoscale_settings = {
autoscale_enabled = true
power_time_schemes = [
{
days_of_week = [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
]
name = "weekdays test"
display_name = "weekdays schedule"
peak_time_ranges = [
"09:00-17:00"
]
pool_size_schedules = [
{
time_range = "00:00-00:00",
pool_size = 1
}
]
pool_using_percentage = false
},
]
}
restricted_access_users = {
allow_list = var.allow_list
}
}