-
-
Notifications
You must be signed in to change notification settings - Fork 230
/
variables.tf
74 lines (60 loc) · 2.38 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
variable "region" {
type = string
description = "AWS region"
}
variable "availability_zones" {
type = list(string)
description = "List of availability zones"
}
variable "instance_type" {
type = string
description = "The type of the instance"
}
variable "elasticsearch_version" {
type = string
description = "Version of Elasticsearch to deploy (_e.g._ `7.1`, `6.8`, `6.7`, `6.5`, `6.4`, `6.3`, `6.2`, `6.0`, `5.6`, `5.5`, `5.3`, `5.1`, `2.3`, `1.5`"
}
variable "instance_count" {
type = number
description = "Number of data nodes in the cluster"
}
variable "zone_awareness_enabled" {
type = bool
description = "Enable zone awareness for Elasticsearch cluster"
}
variable "encrypt_at_rest_enabled" {
type = bool
description = "Whether to enable encryption at rest"
}
variable "dedicated_master_enabled" {
type = bool
description = "Indicates whether dedicated master nodes are enabled for the cluster"
}
variable "elasticsearch_subdomain_name" {
type = string
description = "The name of the subdomain for Elasticsearch in the DNS zone (_e.g._ `elasticsearch`, `ui`, `ui-es`, `search-ui`)"
}
variable "kibana_subdomain_name" {
type = string
description = "The name of the subdomain for Kibana in the DNS zone (_e.g._ `kibana`, `ui`, `ui-es`, `search-ui`, `kibana.elasticsearch`)"
}
variable "create_iam_service_linked_role" {
type = bool
description = "Whether to create `AWSServiceRoleForAmazonElasticsearchService` service-linked role. Set it to `false` if you already have an ElasticSearch cluster created in the AWS account and AWSServiceRoleForAmazonElasticsearchService already exists. See https://github.com/terraform-providers/terraform-provider-aws/issues/5218 for more info"
}
variable "ebs_volume_size" {
type = number
description = "EBS volumes for data storage in GB"
}
variable "dns_zone_id" {
type = string
description = "Route53 DNS Zone ID to add hostname records for Elasticsearch domain and Kibana"
}
variable "domain_hostname_enabled" {
type = bool
description = "Explicit flag to enable creating a DNS hostname for ES. If `true`, then `var.dns_zone_id` is required."
}
variable "kibana_hostname_enabled" {
type = bool
description = "Explicit flag to enable creating a DNS hostname for Kibana. If `true`, then `var.dns_zone_id` is required."
}