mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
add bot deploy
This commit is contained in:
parent
25a94089f8
commit
961989197c
5 changed files with 124 additions and 12 deletions
|
@ -15,7 +15,7 @@ variable "ui_regions" {
|
|||
|
||||
variable "ui_tag" {
|
||||
type = string
|
||||
description = "Specific tag to deploy"
|
||||
description = ":tag or @sha265: of *-docker.pkg.dev/roleypoly/roleypoly/ui"
|
||||
default = ""
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,12 @@ variable "bot_client_secret" {
|
|||
sensitive = true
|
||||
}
|
||||
|
||||
variable "bot_token" {
|
||||
type = string
|
||||
description = "Bot Client Secret"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "ui_public_uri" {
|
||||
type = string
|
||||
description = "UI Public Base Path"
|
||||
|
@ -50,3 +56,21 @@ variable "root_users" {
|
|||
type = list(string)
|
||||
description = "Root users to use for role elevation calculations"
|
||||
}
|
||||
|
||||
variable "deploy_bot" {
|
||||
type = bool
|
||||
default = false
|
||||
description = "Bot is an optional piece of the system. It's only typically deployed in prod."
|
||||
}
|
||||
|
||||
variable "bot_instance_size" {
|
||||
type = string
|
||||
default = "f1-micro"
|
||||
description = "Google Compute Engine VM size"
|
||||
}
|
||||
|
||||
variable "bot_tag" {
|
||||
type = string
|
||||
default = ""
|
||||
description = ":tag or @sha265: of ghcr.io/roleypoly/bot"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue