devops/infra/modules/zitadel/project/variables.tf

51 lines
1.0 KiB
HCL

variable "domain" {
type = string
description = "Domain for the zitadel instance"
default = "localhost"
}
variable "wait_on" {
type = any
description = "Resources to wait on"
default = true
}
variable "jwt_profile_file" {
type = string
description = "Path to the jwt profile file"
}
variable "org_id" {
type = string
description = "Organisation Id"
}
variable "client_id" {
type = string
description = "Google Client ID"
}
variable "client_secret" {
type = string
description = "Google Client Secret"
}
variable "options" {
type = object({
scopes = list(string)
is_linking_allowed = bool
is_creation_allowed = bool
is_auto_creation = bool
is_auto_update = bool
auto_linking = string
})
default = {
scopes = ["openid", "profile", "email"],
is_linking_allowed = false
is_creation_allowed = true
is_auto_creation = false
is_auto_update = true
auto_linking = "AUTO_LINKING_OPTION_USERNAME"
}
}