-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
141 lines (119 loc) · 3.59 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
variable "enabled" {
description = "Enable the Neo4j cluster"
type = bool
default = true
}
variable "deploy_config" {
type = map(string)
default = {
environment = "dev"
project = "provision-neo4j-cluster-k8s"
}
}
variable "cluster_name" {
type = string
default = "cluster-001"
}
variable "cluster_num_primaries" {
description = "The number of dedicated Neo4J writers running in primary mode within a Neo4J cluster"
type = number
default = 3
}
variable "cluster_num_secondaries" {
description = "The number of dedicated Neo4J readers running in secondary mode within a Neo4J cluster"
type = number
default = 2
}
variable "reads_on_primaries_enabled" {
description = "Allows reads on primaries"
type = bool
default = true
}
variable "neo4j_auth_enabled" {
description = "Enable Neo4j authentication"
type = bool
default = false
}
variable "neo4j_allow_multiple_cluster_instances_per_host" {
description = "Allows multiple Neo4j instances per host. When set to false, an anti-affinity rule will be created to ensure that only one Neo4j cluster member for a given unique database cluster is deployed per host"
type = bool
default = false
}
variable "ebs_volume_size" {
description = "The volume size for the Neo4j data volume"
type = string
default = "100Gi"
}
variable "ebs_volume_iops" {
description = "The volume IOPS for the Neo4j data volume"
type = string
default = "3000"
}
variable "ebs_volume_throughput" {
description = "The volume throughput for the Neo4j data volume"
type = string
default = "125"
}
variable "storage_class" {
description = "The name of the Kubernetes storage class to use when creating persistent volume claims for Neo4J"
type = string
default = "gp2"
}
variable "k8s_labels" {
description = "K8s resource labels"
type = map(string)
default = {
project = "provision-neo4j-cluster-k8s"
}
}
variable "namespace" {
description = "The namespace to deploy the Neo4j cluster into"
type = string
default = "neo4j-test"
}
# Neo4j Edition to use (community|enterprise)
variable "neo4j_edition" {
description = "The edition of Neo4j to deploy"
type = string
default = "enterprise"
}
variable "neo4j_accept_license_agreement" {
description = "Accept the Neo4j license agreement"
type = string
default = "yes"
}
variable "neo4j_offline_maintenance_mode_enabled" {
description = "Enable offline maintenance mode"
type = bool
default = false
}
variable "neo4j_resources_resources_cpu" {
description = "The amount of CPU to allocate to the Neo4j pods"
type = string
default = "2000m"
}
variable "neo4j_resources_resources_memory" {
description = "The amount of CPU to allocate to the Neo4j pods"
type = string
default = "8Gi"
}
variable "fqdn_base" {
description = "The base fully qualified domain name to use for reader and writer addresses/URIs/Connection Strings"
type = string
default = "internal.dev.jupiterone.io"
}
variable "availability_zones" {
description = "The availability zones to deploy the Neo4j cluster into"
type = list(string)
default = []
}
variable "node_toleration_key" {
description = "The node toleration key to allow scheduling on dedicated node pools"
type = string
default = ""
}
variable "node_toleration_value" {
description = "The node toleration value to allow scheduling on dedicated node pools"
type = string
default = ""
}