-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path10-hubeast.tf
62 lines (55 loc) · 2.31 KB
/
10-hubeast.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
resource discord_category_channel hubeast {
name = "East Island"
server_id = discord_server.nlp.id
position = discord_category_channel.mountains.position + 1
}
module "hubeast_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.hubeast.id
permissions = local.permissions.send_messages
allow_roles = [discord_role.player.id]
}
resource discord_text_channel east_ooc {
name = "east-island-ooc"
server_id = discord_server.nlp.id
category = discord_category_channel.hubeast.id
sync_perms_with_category = true
lifecycle { ignore_changes = [position] }
}
resource discord_text_channel verdant_outpost {
name = "verdant-outpost"
server_id = discord_server.nlp.id
category = discord_category_channel.hubeast.id
position = discord_text_channel.east_ooc.position + 1
sync_perms_with_category = true
}
resource discord_text_channel verdant_hills {
name = "verdant-hills"
server_id = discord_server.nlp.id
category = discord_category_channel.hubeast.id
position = discord_text_channel.verdant_outpost.position + 1
sync_perms_with_category = true
}
resource discord_text_channel woodlands {
name = "woodlands"
server_id = discord_server.nlp.id
category = discord_category_channel.hubeast.id
position = discord_text_channel.verdant_hills.position + 1
sync_perms_with_category = true
}
resource discord_text_channel mushroom_forest {
name = "mushroom-forest"
server_id = discord_server.nlp.id
category = discord_category_channel.hubeast.id
position = discord_text_channel.woodlands.position + 1
sync_perms_with_category = true
}
resource discord_text_channel permafrost {
name = "permafrost"
server_id = discord_server.nlp.id
category = discord_category_channel.hubeast.id
position = discord_text_channel.mushroom_forest.position + 1
sync_perms_with_category = true
}