concourse/governance

Automate Discord configuration

vito opened this issue · 3 comments

vito commented
  • teams map to roles in Discord
  • all contributors are granted 'contributors' role

The aequasi/discord provider seems the best one (it has docs).

This will likely involve creating a Discord Application, Bot, and Team which should probably have the @concourse/infrastructure team as members (admins).

vito commented

done!

ended up not using Terraform; it raised more questions than it answered. (primarily where does the state get stored, since it can't be imported, and without it the provider seems to just keep creating stuff rather than being idempotent.)

vito commented

woops, this doesn't set the contributors role - reopening.

vito commented

done via fab1b76