-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
77 lines (64 loc) · 1.65 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
variable "app_name" {
description = "Product Name"
type = string
}
variable "availability_zones" {
description = "Availability zones"
type = list(string)
}
variable "backup_retention_period" {
description = "Backup retention period"
type = number
}
variable "db_port" {
description = "Database port"
type = number
}
variable "engine_type" {
# aurora | aurora-mysql | aurora-postgres
description = "RDS Aurora serverless engine type"
type = string
}
variable "engine_version" {
description = "RDS Aurora engine version"
type = string
}
variable "engine_mode" {
# global, multimaster, parallelquery, provisioned, serverless
description = "The database engine mode"
type = string
default = "provisioned"
}
variable "instance_class" {
description = "RDS Aurora instance class"
type = string
default = null
}
variable "instances_amount" {
description = "Amound of instances for aurora cluster"
type = number
default = 0
}
variable "master_db_user" {
description = "Master db user name"
type = string
}
variable "encrypted" {
description = "Specifies whether the DB cluster is encrypted."
type = bool
}
variable "bastion_access" {
description = "Add Bastion securityGroup"
type = bool
default = false
}
variable "bastion_sg_id" {
description = "Bastion securityGroup"
type = string
default = null
}
variable "scaling_configuration" {
description = "Map of nested attributes with scaling properties. Only valid when engine_mode is set to `serverless`"
type = map(string)
default = {}
}