-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path08-bforest.tf
63 lines (56 loc) · 2.35 KB
/
08-bforest.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
# ### BOREAL FOREST ###
resource discord_category_channel bforest {
name = "Boreal Forest"
server_id = discord_server.nlp.id
position = discord_category_channel.coast.position + 1
}
module "bforest_permissions" {
# only Players are allowed to write in IC chats
source = "./limited_channel_permissions"
server_id = discord_server.nlp.id
channel_id = discord_category_channel.bforest.id
permissions = local.permissions.send_messages
allow_roles = [discord_role.player.id]
}
resource discord_text_channel bforest_ooc {
name = "boreal-forest-ooc"
server_id = discord_server.nlp.id
category = discord_category_channel.bforest.id
sync_perms_with_category = true
lifecycle { ignore_changes = [position] }
}
resource discord_text_channel autumnal_forest {
name = "autumnal-forest"
server_id = discord_server.nlp.id
category = discord_category_channel.bforest.id
position = discord_text_channel.bforest_ooc.position + 1
sync_perms_with_category = true
}
resource discord_text_channel frozen_river {
name = "frozen-river"
server_id = discord_server.nlp.id
category = discord_category_channel.bforest.id
position = discord_text_channel.autumnal_forest.position + 1
sync_perms_with_category = true
}
resource discord_text_channel snowy_hill {
name = "snowy-hill"
server_id = discord_server.nlp.id
category = discord_category_channel.bforest.id
position = discord_text_channel.frozen_river.position + 1
sync_perms_with_category = true
}
resource discord_text_channel cold_jungle_top {
name = "cold-jungle-canopy"
server_id = discord_server.nlp.id
category = discord_category_channel.bforest.id
position = discord_text_channel.snowy_hill.position + 1
sync_perms_with_category = true
}
resource discord_text_channel cold_jungle_bottom {
name = "cold-jungle-floor"
server_id = discord_server.nlp.id
category = discord_category_channel.bforest.id
position = discord_text_channel.cold_jungle_top.position + 1
sync_perms_with_category = true
}