-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
89 lines (74 loc) · 2.55 KB
/
variables.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
variable "discord_administrators" {
type = list(string)
description = "List of Discord User IDs to add to the Administrator Role."
default = [
"377823572309180426", # `ksatirli`, Kerim Satirli
"1025901008527827024", # `workloads-bot`, Service Account
]
}
variable "discord_bots" {
type = list(string)
description = "List of Discord User IDs to add to the Bots Role."
default = [
"1146006004828491857", # `excav-assist`, Service Account
"820032064580485171", # `Community Verification`, commonroom.io
"1026312041788616754", # `workloads-bot`, Service Account
]
}
variable "discord_colors" {
type = object({
administrators = string
bots = string
maintainers = string
moderators = string
})
description = "Hex Codes for Discord Roles."
default = {
administrators = "#e965a5"
bots = "#938aad"
maintainers = "#b1baf4"
moderators = "#e192ef"
}
}
variable "discord_maintainers" {
type = list(string)
description = "List of Discord User IDs to add to the Maintainers Role."
default = [
# "838677533125115904", # `Wondermine`, Taha Ali
# "1040318092976324638", # `timothymamo`, Tim Mamo
]
}
variable "discord_moderators" {
type = list(string)
description = "List of Discord User IDs to add to the Moderators Role."
default = []
}
# Application Identifiers can be retrieved by visiting https://discord.com/developers/applications/
variable "discord_application_id" {
type = string
description = "Discord Application Identifier."
}
# Server Identifiers can be retrieved by inspect the Guilds API call for `discovery-metadata`:
# see https://discord.com/api/v9/guilds/1025901757815070820/discovery-metadata
variable "discord_server_id" {
type = string
description = "Discord Server Identifier."
}
# Tokens may be created on https://discord.com/developers/applications/ by going to
# "Applications", followed by "HashiCorp Terraform", then clicking "Bot" on the left
# In the resulting view, the "Token" section offers options to create and reset tokens.
#
# See https://discordjs.guide/preparations/setting-up-a-bot-application.html#what-is-a-token-anyway for additional information.
variable "discord_token" {
type = string
description = "Discord API Token."
}
variable "project_identifier" {
type = string
description = "Human-readable Project Identifier."
}
variable "tfe_team_token_viewers" {
type = string
description = "HCP Terraform `viewers` Team Token."
sensitive = true
}