-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
91 lines (84 loc) · 2.24 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
variable "model" {
description = "The name of the Juju model to deploy to."
type = string
default = "identity-platform"
}
variable "hydra" {
description = "The configurations of the Hydra application."
type = object({
units = optional(number, 1)
channel = optional(string, "latest/edge")
base = optional(string, "ubuntu@22.04")
trust = optional(string, true)
config = optional(map(string), {})
})
default = {}
}
variable "kratos" {
description = "The configurations of the Kratos application."
type = object({
units = optional(number, 1)
channel = optional(string, "latest/edge")
base = optional(string, "ubuntu@22.04")
trust = optional(string, true)
config = optional(map(string), {})
})
default = {}
}
variable "login_ui" {
description = "The configurations of the Identity Platform Login UI application."
type = object({
units = optional(number, 1)
trust = optional(bool, true)
config = optional(map(string), {})
channel = optional(string, "latest/edge")
base = optional(string, "ubuntu@22.04")
})
default = {}
}
variable "idp_provider_config" {
description = "The external Idp provider configurations."
type = object({
client_id : string
issuer_url : optional(string)
provider : string
provider_id : string
scope : optional(string, "profile email address phone")
microsoft_tenant_id : optional(string)
apple_team_id : optional(string)
apple_private_key_id : optional(string)
})
default = {
client_id = "client_id"
provider = "generic"
provider_id = "provider_id"
}
}
variable "idp_provider_credentials" {
description = "The external Idp provider credentials."
type = object({
client_secret : string
apple_private_key : optional(string)
})
default = {
client_secret = "client_secret"
}
sensitive = true
}
variable "internal_ingress" {
description = "The internal ingress."
type = object({
name : string
endpoint : optional(string)
})
default = {
name = "internal-ingress"
}
}
variable "juju_offers" {
description = "The Juju offers provided by other charmed operators."
type = object({
external_ingress_offer : optional(string)
})
default = {}
}