-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
80 lines (68 loc) · 1.79 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
variable "cluster_name" {
type = string
description = "Name of the cluster to create"
}
variable "master_username" {
type = string
description = "Username to use for master user"
}
variable "master_password" {
type = string
description = "Password to use for the master user"
}
variable "backup_window" {
type = string
default = "07:00-09:00"
description = "Backup window for the cluster"
}
variable "maintenance_window" {
type = string
default = "Mon:00:00-Mon:03:00"
description = "Maintenance window for the cluster"
}
variable "backup_rentetion_period" {
type = number
default = 7
description = "Number of automated backups to keep"
}
variable "skip_final_snapshot" {
type = bool
default = true
description = "Skip final snapshot on the cluster delete"
}
variable "instance_count" {
type = number
default = 2
description = "Instance number to create in the cluster"
}
variable "instance_class" {
type = string
default = "db.t3.medium"
description = "Instance type to use when creating the cluster"
}
variable "tags" {
type = map(string)
default = {
terraform = "true"
}
description = "Tags to attach to the cluster"
}
variable "availability_zones" {
type = list(string)
description = "Availability zones for the cluster instances"
}
variable "storage_encrypted" {
type = bool
default = true
description = "Encryption at rest"
}
variable "subnet_group_ids" {
type = list(string)
default = []
description = "List of subnet group ids to use when provisioning instances"
}
variable "security_group_ids" {
type = list(string)
default = []
description = "List of security group ids to attach to the cluster"
}