-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
172 lines (145 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# =======================================
# Keycloak-deploy module. Input variables
# =======================================
variable "cloud_id" {
description = "Cloud ID"
}
variable "labels" {
description = "A set of key/value label pairs to assign."
type = map(string)
default = null
}
# =====================
# Keycloak VM variables
# =====================
variable "kc_image_family" {
description = "Keycloak VM image family"
type = string
default = null
}
variable "kc_network_name" {
description = "Keycloak VM network name"
type = string
default = null
}
variable "kc_subnet_name" {
description = "Keycloak VM subnet name"
type = string
default = null
}
variable "kc_folder_name" {
description = "Keycloak VM folder name"
type = string
default = null
}
variable "kc_zone_id" {
description = "Keycloak zone-id for deployment"
type = string
default = null
}
variable "kc_hostname" {
description = "Keycloak VM name & Hostname & Public DNS name"
type = string
default = null
}
variable "kc_vm_local_ip" {
description = "Keycloak VM local IP address"
type = string
default = null
}
variable "kc_vm_sg_name" {
description = "Keycloak VM Security Group name"
type = string
default = null
}
variable "kc_vm_username" {
description = "Keycloak VM username"
type = string
default = "admin"
}
variable "kc_vm_ssh_key_file" {
description = "SSH Public key path and filename"
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "dns_zone_name" {
description = "Yandex Cloud DNS Zone Name"
type = string
default = null
}
variable "kc_fqdn" {
description = "Keycloak public DNS FQDN"
type = string
default = null
}
variable "kc_ver" {
description = "Keycloak version for deployment"
type = string
default = null
}
variable "kc_port" {
description = "Keycloak HTTPS port listener"
type = string
default = null
}
variable "kc_adm_user" {
description = "Keycloak admin user name"
type = string
default = null
}
variable "kc_adm_pass" {
description = "Keycloak admin user password"
type = string
default = null
}
# =============================
# Keycloak PostgreSQL variables
# =============================
variable "pg_db_ver" {
description = "PostgeSQL cluster version"
type = string
default = null
}
variable "pg_db_name" {
description = "PostgeSQL cluster and database name"
type = string
default = null
}
variable "pg_db_user" {
description = "PostgeSQL database user name"
type = string
default = null
}
variable "pg_db_pass" {
description = "PostgeSQL database user password"
type = string
default = null
}
# =================================
# Keycloak LE Certificate variables
# =================================
variable "kc_cert_path" {
description = "SSL certificates path location in the Keycloak VM"
type = string
default = null
}
variable "le_cert_name" {
description = "Let's Encrypt certificate name (CM)"
type = string
default = null
}
variable "le_cert_descr" {
description = "Let's Encrypt certificate description (CM)"
type = string
default = null
}
variable "le_cert_pub_chain" {
description = "Let's Encrypt certificate public key chain filename"
type = string
default = null
}
variable "le_cert_priv_key" {
description = "Let's Encrypt certificate private key filename"
type = string
default = null
}