Skip to content

Commit 7e03a7e

Browse files
committed
default variables
1 parent 74da101 commit 7e03a7e

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

variables.tf

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
variable "namespace" {}
22
variable "kafka_name" {}
33
variable "cluster_size" {}
4-
variable "offset_topic_replication_factor" {}
5-
variable "zookeeper_cluster_size" {}
6-
variable "kafka_rest_replicacount" {}
7-
variable "kafka_rest_ingress_host" {}
4+
variable "offset_topic_replication_factor" {
5+
default = 1
6+
}
7+
variable "zookeeper_cluster_size" {
8+
default = 1
9+
}
10+
variable "kafka_rest_replicacount" {
11+
default = 1
12+
}
13+
variable "kafka_rest_ingress_host" {
14+
default = "mydearhost.io"
15+
}
816
variable "kafka_rest_ingress_annotations" {
917
type = list(object({key = string, value = string}))
18+
default = []
1019
}
1120
variable "kafka_rest_enabled" {
1221
type = bool

0 commit comments

Comments
 (0)