forked from Shaiou/Terraform-Splunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
40 lines (34 loc) · 1.72 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
## AWS Specific part
variable "ami" {}
variable "instance_user" {}
variable "key_name" {}
variable "region" {}
variable "pretty_name" { default = "splunk" }
variable "vpc_id" {}
#AZ lists and subnets must be comma separated lists in the same order ( subnet 1 must be in AZ 1)
variable "availability_zones" {}
variable "subnets" {}
#admin cidr for ssh and web access
variable "admin_cidr_block" {}
# Pick an address far in the subnet to make sure other hosts don't take it first on dhcp
variable "deploymentserver_ip" {}
## Instance/elb/asg specs
variable "instance_type_indexer" {}
variable "instance_type_deploymentserver" {}
variable "instance_type_master" {}
variable "instance_type_searchhead" {}
#elb public/private setting must be set to true or false
variable "elb_internal" {}
# SearchHead Autoscaling
variable "asg_searchhead_desired" { default = 2 }
variable "asg_searchhead_min" { default = 2 }
variable "asg_searchhead_max" { default = 2 }
variable "count_indexer" { default = 2 }
## Splunk Settings
variable "httpport" { default = 8000 }
variable "indexer_volume_size" { default = "50" }
variable "mgmtHostPort" { default = 8089 }
variable "pass4SymmKey" {}
variable "replication_factor" { default = 2 }
variable "replication_port" { default = 9887 }
variable "search_factor" { default = 2 }