forked from filatov0120/terraform_modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables_rds.tf
109 lines (91 loc) · 2.04 KB
/
variables_rds.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
104
105
106
107
108
109
variable "skip_final_snapshot" {
description = "Skip final snapshot"
type = bool
}
variable "publicly_accessible" {
description = "Publicly accessible"
type = bool
default = false
}
variable "apply_immediately" {
description = "Apply immediately"
type = bool
default = false
}
variable "multi_az" {
description = "multi_az"
type = bool
default = false
}
variable "storage_type" {
description = "Storage type"
type = string
default = "gp3"
}
variable "allocated_storage" {
description = "Storage amount GB"
type = string
default = "20"
}
variable "max_allocated_storage" {
description = "Autoscale storage amount"
type = string
default = "0"
}
variable "rds_engine" {
description = "Engine type"
type = string
default = "postgres"
}
variable "rds_engine_version" {
description = "Engine_version"
type = string
default = "14.8"
}
variable "instance_class" {
description = "Instance_class"
type = string
default = "db.t4g.micro"
}
variable "parameter_group_name" {
description = "Parameter group name"
type = string
default = "default.postgres14"
}
variable "monitoring_interval" {
description = "Monitoring interval"
type = string
default = "0"
}
variable "backup_retention_period" {
description = "Backup retention period"
type = string
default = "3"
}
variable "deletion_protection" {
description = "Deletion protection"
type = bool
default = false
}
variable "allow_major_version_upgrade" {
description = "Allow major version upgrade"
type = bool
default = false
}
variable "db_port" {
description = "DB open port"
type = string
}
variable "username" {
description = "Master username"
type = string
}
variable "password" {
description = "Password for master username"
sensitive = true
type = string
}
variable "db_name" {
description = "Created db name"
type = string
}