-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
144 lines (119 loc) · 3.75 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
variable "cluster_name" {
default = "exasol-cluster"
description = "A name for the to be deployed cluster."
type = string
}
variable "database_name" {
default = "exadb"
description = "A name of the Exasol database."
type = string
}
variable "ami_image_name" {
description = "An Exasol AMI image name. For example, 'Exasol-R7.1.26-PAYG'."
type = string
}
variable "ami_image_id" {
default = null
description = "An Exasol AMI image id. For example, 'ami-05fad9f0c2609cef0'."
type = string
}
variable "ami_image_owner" {
default = "679593333241"
description = "An Exasol AMI image release owner."
type = string
}
variable "sys_user_password" {
description = "An Exasol database `sys` user password (format: lowercase, uppercase, digit, 8-20 length)."
type = string
}
variable "admin_user_password" {
description = "An EXAOperation `admin` user password (format: lowercase, uppercase, digit, 8-20 length)."
type = string
}
variable "subnet_id" {
description = "A subnet id to use when deploying Exasol cluster."
type = string
}
variable "security_group_id" {
description = "A security group id to attach to the instances."
type = string
}
variable "public_ip" {
default = true
description = "Whether to associate public ip addresses to all instances."
type = string
}
variable "create_s3_bucket" {
default = true
description = "Whether to create S3 bucket for a default backup location."
type = string
}
variable "create_s3_endpoint" {
default = false
description = "Whether to create S3 endpoint. Set to false if instances are publicly available or if S3 endpoint already exists."
type = string
}
variable "create_kms_endpoint" {
default = false
description = "Whether to create AWS KMS endpoint. Set to false if instances are publicly available or if KMS endpoint already exists."
type = string
}
variable "create_ec2_endpoint" {
default = false
description = "Whether to create EC2 endpoint. Set to false if instances are publicly available or if EC2 endpoint already exists."
type = string
}
variable "open_ports" {
default = "20,22,443,6583,8563,8835"
description = "A comma separated list of open ports or port ranges."
type = string
}
variable "management_server_instance_type" {
default = "m5.large"
description = "An EC2 instance type for the Exasol management server."
type = string
}
variable "datanode_instance_type" {
default = "m5.xlarge"
description = "An EC2 instance type for the Exasol datanodes."
type = string
}
variable "datanode_count" {
default = 3
description = "The number of datanodes that store data and process queries (min: 1, max: 64)."
type = number
}
variable "standbynode_count" {
default = 0
description = "The number of standby nodes that can automatically replace a failed node."
type = number
}
variable "key_pair_name" {
description = "An EC2 key pair name to attach to the instances."
type = string
}
variable "project" {
default = ""
description = "A name of the project. Also used in tags."
type = string
}
variable "project_name" {
default = ""
description = "A readable name of the project. Also used in tags."
type = string
}
variable "owner" {
default = ""
description = "An email address of the owner. Also used in tags."
type = string
}
variable "environment" {
default = ""
description = "An environment name to deploy the cluster. Also used in tags."
type = string
}
variable "waited_on" {
default = null
description = "A variable that this module can wait on."
type = string
}