mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
feat: add tech support role configuration
This commit is contained in:
parent
cba0d1f35a
commit
6fb468afc4
3 changed files with 18 additions and 0 deletions
|
@ -73,6 +73,16 @@ resource "cloudflare_worker_script" "backend" {
|
|||
name = "INTERACTIONS_SHARED_KEY"
|
||||
text = random_password.interactions_token.result
|
||||
}
|
||||
|
||||
plain_text_binding {
|
||||
name = "RP_SERVER_ID"
|
||||
text = var.rp_server_id
|
||||
}
|
||||
|
||||
plain_text_binding {
|
||||
name = "RP_HELPER_ROLE_IDS"
|
||||
text = join(",", var.rp_helper_roles)
|
||||
}
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "api" {
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
root_users = [
|
||||
"62601275618889728"
|
||||
]
|
||||
|
||||
rp_server_id = "386659935687147521"
|
||||
rp_helper_roles = [
|
||||
"386660833859469313", // developer
|
||||
"386660970551836672" // helper
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue