-
Notifications
You must be signed in to change notification settings - Fork 1
/
defaults.tf
61 lines (59 loc) · 1.68 KB
/
defaults.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
### default variables
locals {
default_mysql_cluster = {
mode = "provisioned"
engine = "aurora-mysql"
family = "aurora-mysql8.0"
version = "8.0.mysql_aurora.3.01.0"
port = "3306"
database = "yourdb"
user = "yourid"
iam_auth_enabled = false
skip_final_snapshot = true
snapshot_id = null
backup_retention = 7
apply_immediately = false
cluster_parameters = {}
scaling = {
auto_pause = true
max_capacity = 128
min_capacity = 1
seconds_until_auto_pause = 300
timeout_action = "ForceApplyCapacityChange"
}
}
default_mysql_instances = [
{
instance_type = "db.t3.medium"
instance_parameters = {}
}
]
default_postgresql_cluster = {
mode = "provisioned"
engine = "aurora-postgresql"
family = "aurora-postgresql11"
version = "11.7"
port = "5432"
database = "yourdb"
user = "yourid"
iam_auth_enabled = false
skip_final_snapshot = true
snapshot_id = null
backup_retention = 7
apply_immediately = false
cluster_parameters = {}
scaling = {
auto_pause = true
max_capacity = 128
min_capacity = 1
seconds_until_auto_pause = 300
timeout_action = "ForceApplyCapacityChange"
}
}
default_postgresql_instances = [
{
instance_type = "db.t3.medium"
instance_parameters = {}
}
]
}