Skip to content

Commit cc0144f

Browse files
chore: add team-mobile (#1841)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
1 parent e11015a commit cc0144f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • tf/deployment/modules/scoped/discord/community

tf/deployment/modules/scoped/discord/community/channels.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ locals {
4141
# Team
4242
team = [
4343
"team",
44+
"team_mobile",
4445
"team_slop",
4546
"team_off_topic",
4647
"team_focus_topic",
@@ -319,6 +320,7 @@ module "team_channels_write" {
319320
team = discord_text_channel.team.id
320321
team_slop = discord_text_channel.team_slop.id
321322
team_off_topic = discord_text_channel.team_off_topic.id
323+
team_mobile = discord_text_channel.team_mobile.id
322324
team_focus_topic = discord_forum_channel.team_focus_topic.id
323325
team_pull_requests = discord_forum_channel.team_pull_requests.id,
324326
team_purchases = discord_text_channel.team_purchases.id
@@ -671,6 +673,17 @@ resource "discord_text_channel" "team" {
671673
}
672674
}
673675

676+
resource "discord_text_channel" "team_mobile" {
677+
name = "team-mobile"
678+
position = index(local.channel_order.team, "team_mobile")
679+
server_id = discord_server.server.id
680+
category = discord_category_channel.team.id
681+
sync_perms_with_category = false
682+
lifecycle {
683+
ignore_changes = [sync_perms_with_category]
684+
}
685+
}
686+
674687
resource "discord_text_channel" "team_slop" {
675688
name = "team-slop"
676689
position = index(local.channel_order.team, "team_slop")

0 commit comments

Comments
 (0)