forked from magda-io/magda-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
124 lines (104 loc) · 3.6 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# These variables are expected to be passed in by the operator
# ---------------------------------------------------------------------------------------------------------------------
variable "project" {
description = "The project ID to host the deployed Magda"
type = string
}
variable "region" {
type = string
description = "The region to host the deployed Magda"
}
variable "namespace" {
type = string
description = "The namespace to host the deployed Magda"
}
variable "credential_file_path" {
type = string
description = "Google service account key file path"
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# Generally, these values won't need to be changed.
# ---------------------------------------------------------------------------------------------------------------------
variable "magda_version" {
type = string
description = "Specify Magda helm chart version to install"
default = null
}
variable "allow_dev_magda_version" {
type = bool
description = "Specify whether allow to use development Magda helm chart version to install if version is not specified"
default = false
}
variable "external_domain" {
type = string
description = "The external domain; When supplied, HTTPS access will be setup. Otherwise, http only access will be availble through domain [yourIp].xip.io"
default = null
}
variable "cluster_node_pool_machine_type" {
description = "The machine type to use, see https://cloud.google.com/sql/pricing for more details"
type = string
default = "n1-standard-4"
}
variable "db_password" {
description = "The db password; Will auto created if not specfied"
type = string
default = null
}
variable "jwt_secret" {
description = "The jwt_secret; Will auto created if not specfied"
type = string
default = null
}
variable "storage_access_key" {
description = "The storage_access_key; Will auto created if not specfied"
type = string
default = null
}
variable "storage_access_key_secret" {
description = "The storage_access_key_secret; Will auto created if not specfied"
type = string
default = null
}
variable "session_secret" {
description = "The session_secret; Will auto created if not specfied"
type = string
default = null
}
variable "facebook_client_secret" {
description = "facebook SSO client secret; Will not create if not specfied"
type = string
default = null
}
variable "google_client_secret" {
description = "google SSO client secret; Will not create if not specfied"
type = string
default = null
}
variable "arcgis_client_secret" {
description = "arcgis SSO client secret; Will not create if not specfied"
type = string
default = null
}
variable "vanguard_certificate" {
description = "vanguard SSO certificate; Will not create if not specfied"
type = string
default = null
}
variable "smtp_username" {
description = "smtp server username; Will not create if not specfied"
type = string
default = null
}
variable "smtp_password" {
description = "smtp server password; Will not create if not specfied"
type = string
default = null
}
variable "kubernetes_dashboard" {
type = bool
description = "Whether turn on kubernetes_dashboard or not; Default: false"
default = false
}