-
Notifications
You must be signed in to change notification settings - Fork 16
/
variables.tf
127 lines (107 loc) · 3.22 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
122
123
124
125
126
127
#
# Variables for the Apache Zookeeper terraform module.
#
# Copyright 2016-2022, Frederico Martins
# Author: Frederico Martins <http://github.com/fscm>
#
# SPDX-License-Identifier: MIT
#
# This program is free software. You can use it and/or modify it under the
# terms of the MIT License.
#
variable "ami_name" {
description = "The name of the AMI to use for the instance(s)."
default = "zookeeper"
type = "string"
}
variable "ami_prefix" {
description = "The prefix of the AMI to use for the instance(s)."
default = ""
type = "string"
}
variable "associate_public_ip_address" {
description = "Associate a public IP address to the Apache Zookeeper instance(s)."
default = false
type = "string"
}
variable "domain" {
description = "The domain name to use for the Apache Zookeeper instance(s)."
type = "string"
}
variable "extra_security_group_id" {
description = "Extra security group to assign to the Apache Zookeeper instance(s) (e.g.: 'sg-3f983f98')."
default = ""
type = "string"
}
variable "heap_size" {
description = "The heap size for the Apache Zookeeper instance(s) (e.g.: '1G')."
default = ""
type = "string"
}
variable "instance_type" {
description = "The type of instance to use for the Apache Zookeeper instance(s)."
default = "t2.small"
type = "string"
}
variable "keyname" {
description = "The SSH key name to use for the Apache Zookeeper instance(s)."
type = "string"
}
variable "name" {
description = "The main name that will be used for the Apache Zookeeper instance(s)."
default = "zookeeper"
type = "string"
}
variable "number_of_instances" {
description = "Number of Apache Zookeeper instances."
default = "1"
type = "string"
}
variable "prefix" {
description = "A prefix to prepend to the Apache Zookeeper instance(s) name."
default = ""
type = "string"
}
variable "private_zone_id" {
description = "The ID of the hosted zone for the private DNS record(s)."
default = ""
type = "string"
}
variable "public_zone_id" {
description = "The ID of the hosted zone for the public DNS record(s)."
default = ""
type = "string"
}
variable "root_volume_iops" {
description = "The amount of provisioned IOPS (for 'io1' type only)."
default = 0
type = "string"
}
variable "root_volume_size" {
description = "The volume size in gigabytes."
default = "8"
type = "string"
}
variable "root_volume_type" {
description = "The volume type. Must be one of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD)."
default = "gp2"
type = "string"
}
variable "subnet_ids" {
description = "List of Subnet IDs to launch the instance(s) in (e.g.: ['subnet-0zfg04s2','subnet-6jm2z54q'])."
type = "list"
}
variable "ttl" {
description = "The TTL (in seconds) for the DNS record(s)."
default = "600"
type = "string"
}
variable "use_asg" {
description = "Set to true to use an Auto Scaling Group for the cluster."
default = false
type = "string"
}
variable "vpc_id" {
description = "The VPC ID for the security group(s)."
type = "string"
}