chore: add team-mobile (#1841)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2026-07-21 14:52:48 +00:00
committed by GitHub
co-authored by shenlong-tanwen
parent e11015a0aa
commit cc0144f55e
@@ -41,6 +41,7 @@ locals {
# Team
team = [
"team",
"team_mobile",
"team_slop",
"team_off_topic",
"team_focus_topic",
@@ -319,6 +320,7 @@ module "team_channels_write" {
team = discord_text_channel.team.id
team_slop = discord_text_channel.team_slop.id
team_off_topic = discord_text_channel.team_off_topic.id
team_mobile = discord_text_channel.team_mobile.id
team_focus_topic = discord_forum_channel.team_focus_topic.id
team_pull_requests = discord_forum_channel.team_pull_requests.id,
team_purchases = discord_text_channel.team_purchases.id
@@ -671,6 +673,17 @@ resource "discord_text_channel" "team" {
}
}
resource "discord_text_channel" "team_mobile" {
name = "team-mobile"
position = index(local.channel_order.team, "team_mobile")
server_id = discord_server.server.id
category = discord_category_channel.team.id
sync_perms_with_category = false
lifecycle {
ignore_changes = [sync_perms_with_category]
}
}
resource "discord_text_channel" "team_slop" {
name = "team-slop"
position = index(local.channel_order.team, "team_slop")