mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
make terraform stuff
This commit is contained in:
parent
d4e9f38a65
commit
8870f6b640
8 changed files with 257 additions and 0 deletions
40
terraform/variables.tf
Normal file
40
terraform/variables.tf
Normal file
|
@ -0,0 +1,40 @@
|
|||
variable "environment_tag" {
|
||||
type = string
|
||||
description = "Environment to deploy. One of: stage, prod"
|
||||
|
||||
validation {
|
||||
condition = var.environment_tag == "stage" || var.environment_tag == "prod" || var.environment_tag == "test"
|
||||
error_message = "You must set environment_tag to one of: test, stage, or prod."
|
||||
}
|
||||
}
|
||||
|
||||
variable "ui_regions" {
|
||||
type = list(string)
|
||||
description = "Cloud Run regions to deploy UI to"
|
||||
}
|
||||
|
||||
variable "bot_client_id" {
|
||||
type = string
|
||||
description = "Bot Client ID"
|
||||
}
|
||||
|
||||
variable "bot_client_secret" {
|
||||
type = string
|
||||
description = "Bot Client Secret"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "ui_public_uri" {
|
||||
type = string
|
||||
description = "UI Public Base Path"
|
||||
}
|
||||
|
||||
variable "api_public_uri" {
|
||||
type = string
|
||||
description = "API Public Base Path"
|
||||
}
|
||||
|
||||
variable "root_users" {
|
||||
type = list(string)
|
||||
description = "Root users to use for role elevation calculations"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue