-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
50 lines (43 loc) · 1.3 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
# --------------------------------------------------------------------------------
# Copyright 2020 Leap Beyond Emerging Technologies B.V.
# --------------------------------------------------------------------------------
variable vpc_id {
type = string
description = "ID of the VPC to install into - required"
}
variable subnet_id {
type = list(string)
description = "list of Subnet IDs in the VPC into which the cluster can be installed - required"
}
variable access_ip {
type = list(string)
description = "list of CIDR blocks allowed to access the database - this default is not recommended"
default = ["0.0.0.0/0"]
}
variable tags {
type = map(string)
description = "base set of tags to apply to assets"
default = {
"Owner" = "Leap Beyond"
"Project" = "dbtest"
"Client" = "internal"
}
}
variable instance_size {
type = string
description = "size of instance to use for cluster members"
default = "db.r5.large"
}
variable basename {
type = string
description = "prefix used for various names - required"
}
variable db_name {
type = string
description = "name of the initial database to create - required"
}
variable cluster_size {
type = number
description = "number of instances in the cluster"
default = 2
}