-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
116 lines (91 loc) · 1.66 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
variable "vpc_name" {
description = "VPC Name"
type = string
}
variable "net_cidr" {
description = "Subnet structure primitive"
type = list(object({
name = string,
zone = string,
prefix = string
}))
validation {
condition = length(var.net_cidr) >= 1
error_message = "At least one Subnet/Zone should be used."
}
}
variable "zone" {
type = string
}
variable "nat" {
type = bool
default = true
}
variable "image_family" {
type = string
}
variable "platform_id" {
type = string
}
variable "keycloak_name" {
type = string
}
variable "cores" {
type = number
}
variable "memory" {
type = number
}
variable "disk_size" {
type = number
}
variable "disk_type" {
type = string
}
variable "timeout_create" {
default = "10m"
}
variable "timeout_delete" {
default = "10m"
}
#-----------------------------------------
variable "domain_fqdn" {
type = string
}
variable "kc_ver" {
description = "Keycloak version"
type = string
}
variable "kc_port" {
description = "Keycloak HTTPS port listener"
type = string
}
variable "kc_adm_user" {
description = "Keycloak admin user name"
type = string
}
variable "kc_adm_pass" {
description = "Keycloak admin user password"
type = string
}
variable "pg_db_name" {
description = "PostgeSQL cluster and database name"
type = string
}
variable "pg_db_user" {
description = "PostgeSQL database user name"
type = string
}
variable "pg_db_pass" {
description = "PostgeSQL database user's password"
type = string
}
variable "secret_name" {
type = string
}
variable "kms_key_name" {
type = string
}
variable "sa_name" {
type = string
}