-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
107 lines (90 loc) · 2.27 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
variable "name" {
type = string
default = ""
description = "Cluster name"
}
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes (e.g. `1`)"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. `map('BusinessUnit','XYZ')`"
}
variable "vpc_id" {
type = string
default = ""
description = "VPC to launch the cluster instances into"
}
variable "private_subnet_ids" {
type = list(string)
default = []
description = "Private subnets to launch the cluster instances into"
}
variable "public_subnet_ids" {
type = list(string)
default = []
description = "Public subnets to launch cluster instances into"
}
variable "masters_count" {
type = number
default = 1
description = "Number of master nodes"
}
variable "workers_count" {
type = number
default = 3
description = "Number of worker nodes"
}
variable "openshift_key_pair" {
type = string
default = ""
description = "AWS Key pair"
}
variable "dns_zone" {
type = string
default = ""
description = "Cluster DNS Zone Id"
}
variable "dns_name" {
type = string
default = ""
description = "Cluster DNS Zone Name"
}
variable "oreg_auth_user" {
type = string
default = ""
description = "Red Hat registry user name"
}
variable "oreg_auth_password" {
type = string
default = ""
description = "Red Hat registry user password"
}
variable "admin_password" {
type = string
default = ""
description = "Admin password"
}
variable "quay_registry_auth" {
type = string
default = ""
description = "Quay registry docker auth"
}
variable "redhat_registry_auth" {
type = string
default = ""
description = "Red Hat registry docker auth"
}
variable "identity_providers" {
type = string
default = "[{'name':'htpasswd_auth','login':'true','challenge':'true','kind':'HTPasswdPasswordIdentityProvider'}]"
description = "Openshift Identity Providers"
}
variable "terminate_ansible_configserver" {
type = bool
default = true
description = "Terminates the ansible configserver after completing the deployment."
}