mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(tf): api worker should have BOT_TOKEN binded
This commit is contained in:
parent
b5585f5ee9
commit
6580abba1d
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@ resource "cloudflare_worker_script" "backend" {
|
||||||
text = var.bot_client_secret
|
text = var.bot_client_secret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
secret_text_binding {
|
||||||
|
name = "BOT_TOKEN"
|
||||||
|
text = var.bot_token
|
||||||
|
}
|
||||||
|
|
||||||
plain_text_binding {
|
plain_text_binding {
|
||||||
name = "UI_PUBLIC_URI"
|
name = "UI_PUBLIC_URI"
|
||||||
text = var.ui_public_uri
|
text = var.ui_public_uri
|
||||||
|
|
Loading…
Add table
Reference in a new issue