-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathelasticsearch_variables.tf
72 lines (60 loc) · 2.07 KB
/
elasticsearch_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
variable "elasticsearch_path" {
type = string
default = "elasticsearch"
description = "Vault path where the Database secrets engine for elasticsearch will be mounted."
}
variable "elasticsearch_default_lease" {
type = number
default = 3600
description = "Default lease for Database secrets engine for elasticsearch."
}
variable "elasticsearch_max_lease" {
type = number
default = 3600
description = "Maximum lease for Database secrets engine for elasticsearch."
}
variable "elasticsearch_seal_wrapping" {
type = bool
default = true
description = "Enable seal wrapping for the DB secrets engine for elasticsearch."
}
variable "elasticsearch_local_mount" {
type = bool
default = true
description = "Boolean flag that can be explicitly set to true to enforce local mount in HA environment"
}
variable "elasticsearch_external_entropy_access" {
type = bool
default = true
description = "Boolean flag that can be explicitly set to true to enable the secrets engine to access Vault's external entropy source"
}
variable "elasticsearch_allowed_roles" {
type = list(string)
default = null
description = "A list of roles that are allowed to use this connection."
}
variable "elasticsearch_root_rotation_statements" {
type = list(string)
default = null
description = "A list of database statements to be executed to rotate the root user's credentials."
}
variable "elasticsearch_verify_connection" {
type = bool
default = false
description = "Whether the connection should be verified on initial configuration or not."
}
variable "elasticsearch_url" {
type = string
default = "http://localhost:9200"
description = "A URL containing connection information."
}
variable "elasticsearch_username" {
type = string
default = null
description = "The username to be used in the connection."
}
variable "elasticsearch_password" {
type = string
default = null
description = "The password to be used in the connection."
}