generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
90 lines (77 loc) · 1.83 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
# we're using uppercase variable names, since in some cases (e.g Azure DevOps) the system variables are forced to be uppercase
# TF allows providing variable values as env variables of name name, case sensitive
variable "BTP_KYMA_PLAN" {
type = string
description = "Plan name"
default = "azure"
}
variable "BTP_USE_SUBACCOUNT_ID" {
type = string
description = "Subaccount name"
default = null
}
variable "BTP_NEW_SUBACCOUNT_NAME" {
type = string
description = "Subaccount name"
default = null
}
variable "BTP_NEW_SUBACCOUNT_REGION" {
type = string
description = "Region name"
default = "eu20"
}
variable "BTP_KYMA_CUSTOM_OIDC" {
type = object({
clientID = string
issuerURL = string
usernameClaim = string
usernamePrefix = string
groupsClaim = string
signingAlgs = list(string)
})
default = null
}
variable "BTP_KYMA_CUSTOM_ADMINISTRATORS" {
type = list(string)
description = "List of users (sub) of the custom OIDC that should become cluster-admins"
default = []
}
variable "BTP_KYMA_REGION" {
type = string
description = "Kyma region"
default = "westeurope"
}
variable "BTP_BACKEND_URL" {
type = string
description = "Backend URL for BTP API; defaults to https://cli.btp.cloud.sap"
default = "https://cli.btp.cloud.sap"
}
variable "BTP_KYMA_MODULES" {
type = list(object({
name = string
channel = string
}))
default = [
{
name = "istio"
channel = "fast"
},
{
name = "api-gateway"
channel = "fast"
},
{
name = "btp-operator"
channel = "fast"
}
]
description = "The list of kyma modules to install"
}
variable "BTP_KYMA_AUTOSCALER_MIN" {
type = number
default = 3
}
variable "BTP_KYMA_AUTOSCALER_MAX" {
type = number
default = 10
}