forked from azavea/terraform-aws-postgresql-rds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
103 lines (76 loc) · 1.48 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
variable "project" {
default = "Unknown"
}
variable "environment" {
default = "Unknown"
}
variable "allocated_storage" {
default = "32"
}
variable "engine_version" {
default = "9.5.2"
}
variable "instance_type" {
default = "db.t2.micro"
}
variable "storage_type" {
default = "gp2"
}
variable "vpc_id" {}
variable "database_identifier" {}
variable "database_name" {}
variable "database_password" {}
variable "database_username" {}
variable "database_port" {
default = "5432"
}
variable "backup_retention_period" {
default = "30"
}
variable "backup_window" {
# 12:00AM-12:30AM ET
default = "04:00-04:30"
}
variable "maintenance_window" {
# SUN 12:30AM-01:30AM ET
default = "sun:04:30-sun:05:30"
}
variable "auto_minor_version_upgrade" {
default = true
}
variable "final_snapshot_identifier" {
default = "terraform-aws-postgresql-rds-snapshot"
}
variable "skip_final_snapshot" {
default = true
}
variable "copy_tags_to_snapshot" {
default = false
}
variable "multi_availability_zone" {
default = false
}
variable "storage_encrypted" {
default = false
}
variable "subnet_group" {}
variable "parameter_group" {
default = "default.postgres9.4"
}
variable "alarm_cpu_threshold" {
default = "75"
}
variable "alarm_disk_queue_threshold" {
default = "10"
}
variable "alarm_free_disk_threshold" {
# 5GB
default = "5000000000"
}
variable "alarm_free_memory_threshold" {
# 128MB
default = "128000000"
}
variable "alarm_actions" {
type = "list"
}