-
Notifications
You must be signed in to change notification settings - Fork 10
/
variables.tf
157 lines (125 loc) · 2.74 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
145
146
147
148
149
150
151
152
153
154
155
156
157
#### Before editing this file, be sure to read the AWS documentation on:
####
#### * VPCs
#### * Programmatic Access
####
#### Grab your enterprise token from the MariaDB website (https://customers.mariadb.com/downloads/token/).
#### EDIT THESE ITEMS
variable "mariadb_enterprise_token" {
type = string
default = "YOUR MARIADB ENTERPRISE TOKEN HERE"
}
variable "aws_access_key" {
type = string
default = "YOUR AWS ACCESS KEY HERE"
}
variable "aws_secret_key" {
type = string
default = "YOUR AWS SECRET KEY HERE"
}
variable "key_pair_name" {
type = string
default = "YOUR AWS KEY PAIR NAME HERE"
}
variable "ssh_key_file" {
type = string
default = "/PATH/TO/KEY/FILE.PEM"
}
variable "aws_vpc" {
type = string
default = "YOUR AWS VPC ID HERE"
}
variable "aws_subnet" {
type = string
default = "YOUR AWS SUBNET ID HERE"
}
variable "cmapi_key" {
type = string
default = "CREATE A COLUMNSTORE API KEY HERE"
}
variable "use_s3" {
type = bool
default = true
}
variable "s3_ssl_disable" {
type = bool
default = false
}
variable "s3_use_http" {
type = bool
default = false
}
variable "pcs_pass" {
type = string
default = "SET PCS CLUSTER PASSWORD HERE"
}
#### DATABASE CREDENTIALS
variable "admin_user" {
type = string
default = "CHOOSE A MARIADB ADMIN USERNAME HERE"
}
variable "admin_pass" {
type = string
default = "SET YOUR MARIADB ADMIN USER PASSWORD HERE"
}
variable "maxscale_user" {
type = string
default = "CHOOSE A MAXSCALE USERNAME HERE"
}
variable "maxscale_pass" {
type = string
default = "SET YOUR MAXSCALE USER PASSWORD HERE"
}
variable "repli_user" {
type = string
default = "CHOOSE A REPLICA USERNAME HERE"
}
variable "repli_pass" {
type = string
default = "SET YOUR REPLICA USER PASSWORD HERE"
}
variable "cej_user" {
type = string
default = "CHOOSE A COLUMNSTORE UTILITY USERNAME HERE"
}
variable "cej_pass" {
type = string
default = "SET YOUR COLUMNSTORE UTILITY USER PASSWORD HERE"
}
#### DO NOT EDIT BELOW THIS POINT UNLESS YOU ARE FAMILIAR WITH THESE PARAMETERS
variable "mariadb_version" {
type = string
default = "10.6"
}
variable "maxscale_version" {
type = string
default = "latest"
}
variable "reboot" {
type = bool
default = true
}
variable "aws_region" {
type = string
default = "us-west-2"
}
variable "aws_zone" {
type = string
default = "us-west-2a"
}
variable "aws_ami" {
type = string
default = "ami-0bc06212a56393ee1"
}
variable "aws_mariadb_instance_size" {
type = string
default = "c6a.8xlarge"
}
variable "aws_maxscale_instance_size" {
type = string
default = "c6a.large"
}
variable "s3_domain" {
type = string
default = "amazonaws.com"
}