-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
121 lines (100 loc) · 2.44 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
variable "name_prefix" {
type = string
default = "terraform-es"
description = "For most of resource names"
}
variable "name_suffix" {
type = string
description = "If omitted, random string is used."
}
variable "kibana_custom_domain" {
type = string
description = "Domain for kibana access"
}
variable "route53_zone_id" {
type = string
description = "Route53 zone id for kibana_proxy_host"
}
variable "vpc_id" {
type = string
description = "If you provide vpc_id, elasticsearch will be deployed in that vpc. Or it is distributed outside the vpc."
}
variable "use_vpc" {
type = bool
default = true
}
variable "public_subnet_ids" {
type = list(string)
default = []
}
variable "public_subnet_cidr_blocks" {
type = list(string)
default = []
}
variable "private_subnet_ids" {
type = list(string)
default = []
}
variable "private_subnet_cidr_blocks" {
type = list(string)
default = []
}
variable "es_node_type" {
type = string
default = "t3.medium.elasticsearch"
}
variable "es_ebs_volume_size" {
type = number
default = 10
}
variable "es_node_count" {
type = number
description = "For two or three Availability Zones, we recommend instances in multiples of az count for equal distribution across the Availability Zones."
default = 1
}
variable "es_master_user_password" {
type = string
default = "Change-me!-123"
}
variable "es_master_node_count" {
type = number
description = "Dedicated master node count. 0 means that dedecated master nodes are not used."
default = 0
}
variable "es_master_node_type" {
type = string
default = "m3.medium.elasticsearch"
}
variable "es_node_to_node_encryption" {
type = bool
default = false
}
variable "es_encrypt_at_rest" {
type = bool
default = false
}
variable "es_availability_zone_count" {
type = number
description = "Number of Availability Zones for the domain to use with zone_awareness_enabled. 1 means the zone_awareness_enabled is false"
default = 1
}
variable "service_ingress_cidr_rules" {
type = list(string)
default = ["0.0.0.0/0"]
}
variable "create_consumer_security_group" {
type = bool
default = false
}
variable "consumer_security_group_id" {
type = string
default = null
}
variable "alb_ssl_policy" {
type = string
default = "ELBSecurityPolicy-2016-08"
}
variable "tags" {
type = map(string)
default = {}
}