-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
executable file
·69 lines (57 loc) · 1.71 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
variable "region" {}
variable "admin_cidr_block" {}
variable "vpc_id" {}
variable "httpport" { default = 8000 }
variable "ami" {}
variable "instance_user" {}
variable "key_name" {}
variable "instance_type_indexer" {}
variable "subnets" {}
variable "count_indexer" { default = 2 }
variable "instance_type_searchhead" {}
# SearchHead Autoscaling
variable "asg_searchhead_desired" { default = 1 }
variable "asg_searchhead_min" { default = 1 }
variable "asg_searchhead_max" { default = 1 }
variable "availability_zones" {}
#master Autoscaling
variable "asg_master_desired" { default = 1 }
variable "asg_master_min" { default = 1 }
variable "asg_master_max" { default = 1 }
#indexer Autoscaling
variable "asg_peer_desired" { default = 2 }
variable "asg_peer_min" { default = 2 }
variable "asg_peer_max" { default = 6 }
variable "site1_az" {
default = "us-east-1a"
}
variable "site1_subnet" {
default = "subnet-ef096bc2"
}
variable "site2_az" {
default = "us-east-1b"
}
variable "site2_subnet" {
default = "subnet-d68cdf9f"
}
variable "replication_factor" {
default = "2"
}
variable "search_factor" {
default = "2"
}
variable "pass4SymmKey" {
default = "udemy"
}
variable "mgmtHostPort" {
default = "8089"
}
variable "replication_port" {
default = "9887"
}
variable "iam_role_indexer" {
default = "S3accesstoEC2"
}
variable "iam_role_search" {
default = "S3accesstoEC2"
}