-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
66 lines (55 loc) · 1.55 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
variable "name" {
type = string
description = "Determines naming convention of assets. Generally follows DNS naming convention. Service name or abbreviation."
}
variable "database_name" {
type = string
description = "Name of the default database to create"
default = "main"
}
variable "engine_version" {
type = string
description = "The engine version to use"
default = "14"
}
variable "vpc_id" {
type = string
description = "The ID of the vpc the database belongs to"
}
variable "availability_zones" {
type = list(string)
description = "Availability zones for the database"
}
variable "database_subnets" {
type = list(string)
description = "Subnets for the database"
}
variable "additional_security_groups" {
type = list(string)
default = []
description = "Any additional security groups the cluster should be added to"
}
variable "tags" {
type = map(string)
description = "A mapping of tags to assign to the AWS resources."
default = {}
}
variable "instance_count" {
type = number
description = "How many RDS instances to create"
default = 1
}
variable "db_cluster_parameter_group_name" {
type = string
description = "parameter group"
}
variable "instance_class" {
type = string
description = "Instance class"
default = "db.t4g.medium"
}
variable "deletion_protection" {
type = bool
description = "Enable deletion protection. DO NOT DISABLE IN PRODUCTION, THIS IS ONLY FOR TESTING."
default = true
}