mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
chore: commit forgotten terraform changes for allowed_callback_hosts
This commit is contained in:
parent
3388e091c1
commit
8431df784f
5 changed files with 19 additions and 5 deletions
|
@ -16,3 +16,5 @@ UI_PORT=6601
|
|||
# Again, probably right. Do not put a trailing /
|
||||
UI_PUBLIC_URI=http://localhost:6601
|
||||
API_PUBLIC_URI=http://localhost:6609
|
||||
|
||||
ALLOWED_CALLBACK_HOSTS=http://localhost:6601,https://stage.roleypoly.com,https://next.roleypoly.com,https://roleypoly.com,https://*.roleypoly.pages.dev
|
||||
|
|
|
@ -79,3 +79,8 @@ variable "bot_tag" {
|
|||
default = ""
|
||||
description = ":tag or @sha265: of ghcr.io/roleypoly/bot"
|
||||
}
|
||||
|
||||
variable "allowed_callback_hosts" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
|
|
@ -15,5 +15,6 @@ ui_hostnames = [
|
|||
"next.roleypoly.com",
|
||||
"web-prod.roleypoly.com"
|
||||
]
|
||||
ui_public_uri = "https://next.roleypoly.com"
|
||||
api_public_uri = "https://api-prod.roleypoly.com"
|
||||
ui_public_uri = "https://next.roleypoly.com"
|
||||
api_public_uri = "https://api-prod.roleypoly.com"
|
||||
allowed_callback_hosts = "https://roleypoly.com,https://next.roleypoly.com"
|
|
@ -8,5 +8,6 @@ ui_hostnames = [
|
|||
"stage.roleypoly.com",
|
||||
"web-stage.roleypoly.com"
|
||||
]
|
||||
ui_public_uri = "https://stage.roleypoly.com"
|
||||
api_public_uri = "https://api-stage.roleypoly.com"
|
||||
ui_public_uri = "https://stage.roleypoly.com"
|
||||
api_public_uri = "https://api-stage.roleypoly.com"
|
||||
allowed_callback_hosts = "https://roleypoly.com,https://stage.roleypoly.com,https://*.roleypoly.pages.dev"
|
|
@ -54,6 +54,11 @@ resource "cloudflare_worker_script" "backend" {
|
|||
text = var.api_public_uri
|
||||
}
|
||||
|
||||
plain_text_binding {
|
||||
name = "ALLOWED_CALLBACK_HOSTS"
|
||||
text = var.allowed_callback_hosts
|
||||
}
|
||||
|
||||
plain_text_binding {
|
||||
name = "ROOT_USERS"
|
||||
text = join(",", var.root_users)
|
||||
|
|
Loading…
Add table
Reference in a new issue