Skip to content

Commit

Permalink
Merge pull request #6 from pasokonistan/discord-invite-link-bootstrap
Browse files Browse the repository at this point in the history
Discord: generate invite link for bootstrap
  • Loading branch information
sksat authored Mar 18, 2023
2 parents 41ee986 + e50db8e commit ef23499
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions terraform/discord/discord.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ resource "discord_text_channel" "entrypoint" {
category = discord_category_channel.pasokon.id
position = 0
}

resource "discord_invite" "bootstrap" {
channel_id = discord_text_channel.entrypoint.id
max_uses = 1
}

output "invite_link_bootstrap" {
description = "bootstrap invite link"
value = "https://discord.gg/${discord_invite.bootstrap.id}"
}

0 comments on commit ef23499

Please sign in to comment.