-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
169 lines (143 loc) · 5.4 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
variable "create" {
description = "Controls if the Confluent Platform and Operator resources should be created (affects all resources)."
type = bool
default = true
}
variable "namespace" {
description = "The namespace to release Confluent Platform into. When `confluent_operator` is specified, this will also ensure the Confluent Operator is released into the same namespace."
type = string
default = "confluent"
}
################################################################################
# Confluent Operator
################################################################################
variable "confluent_operator" {
description = "Controls if the Confluent Operator resources should be created. This is required when the Confluent Operator is not already running on the kubernetes cluster."
type = any
default = {
create = true
}
}
################################################################################
# Confluent Platform
################################################################################
variable "confluent_operator_app_version" {
description = "The default Confluent Operator app version. This may be overriden by component override values. This version must be compatible with the `confluent_platform_version`. Please see confluent docs for more information: https://docs.confluent.io/platform/current/installation/versions-interoperability.html#confluent-operator"
type = string
default = "2.4.0"
}
variable "confluent_platform_version" {
description = "The default Confluent Platform app version. This may be overriden by component override values. This version must be compatible with the `confluent_operator_app_version`. Please see confluent docs for more information: https://docs.confluent.io/platform/current/installation/versions-interoperability.html#confluent-operator"
type = string
default = "7.2.0"
}
variable "create_zookeeper" {
description = "Controls if the Zookeeper component of the Confluent Platform should be created."
type = bool
default = true
}
variable "zookeeper" {
description = "The Zookeeper override values."
type = any
default = {}
}
variable "create_kafka" {
description = "Controls if the Kafka component of the Confluent Platform should be created."
type = bool
default = true
}
variable "kafka" {
description = "The Kafka override values."
type = any
default = {}
}
variable "create_connect" {
description = "Controls if the Connect component of the Confluent Platform should be created."
type = bool
default = true
}
variable "connect" {
description = "The Connect override values."
type = any
default = {}
}
variable "create_ksqldb" {
description = "Controls if the KsqlDB component of the Confluent Platform should be created."
type = bool
default = true
}
variable "ksqldb" {
description = "The KsqlDB override values."
type = any
default = {}
}
variable "create_controlcenter" {
description = "Controls if the ControlCenter component of the Confluent Platform should be created."
type = bool
default = true
}
variable "controlcenter" {
description = "The ControlCenter override values."
type = any
default = {}
}
variable "create_schemaregistry" {
description = "Controls if the SchemaRegistry component of the Confluent Platform should be created."
type = bool
default = true
}
variable "schemaregistry" {
description = "The SchemaRegistry override values."
type = any
default = {}
}
variable "create_kafkarestproxy" {
description = "Controls if the KafkaRestProxy component of the Confluent Platform should be created."
type = bool
default = true
}
variable "kafkarestproxy" {
description = "The KafkaRestProxy override values."
type = any
default = {}
}
variable "kafka_rest_classes" {
description = "A map of Kafka Rest Classes to create. The key is the kafka rest class name. The value map is the input for the `kafka_rest_class` submodule."
type = any
default = {}
}
variable "confluent_role_bindings" {
description = "A map of Confluent Role Bindings to create. The key is the confluent role binding name. The value map is the input for the `confluent_role_binding` submodule."
type = any
default = {}
}
variable "kafka_topics" {
description = "A map of Kafka Topics to create. The key is the topic name. The value map is the input for the `kafka_topic` submodule."
type = any
default = {}
}
variable "schemas" {
description = "A map of Schemas to create. The key is the schema name. The value map is the input for the `schema` submodule."
type = any
default = {}
}
variable "connectors" {
description = "A map of Connectors to create. The key is the connector name. The value map is the input for the `connector` submodule."
type = any
default = {}
}
variable "create_timeout" {
description = "The create timeout for each Confluent Platform component."
type = string
default = "1h"
}
variable "update_timeout" {
description = "The update timeout for each Confluent Platform component."
type = string
default = "1h"
}
variable "delete_timeout" {
description = "The delete timeout for each Confluent Platform component."
type = string
default = "10m"
}