-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.tf
100 lines (83 loc) · 2.34 KB
/
vars.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
variable "identifier" {
type = string
description = "Instance identifier"
}
variable "db_name" {
type = string
description = "Initial database name"
}
variable "instance_type" {
type = string
description = "Instance type"
default = "db.t3.small"
}
variable "allocated_storage" {
type = number
description = "Allocated storage for instance"
default = 20
}
variable "postgresql_version" {
type = string
description = "The postgresql version to use"
default = "13.3"
}
variable "master_username" {
type = string
description = "Username for master user"
}
variable "availability_zone" {
type = string
description = "The availability zone where the instance shall be created"
}
variable "vpc_id" {
type = string
description = "VPC id create the cluster in"
}
variable "security_group_names" {
type = list(string)
description = "List of security group names that should have access to the cache cluster"
}
variable "subnet_ids" {
type = list(string)
description = "List of subnet ids where cluster should be located"
}
variable "skip_final_snapshot" {
type = bool
default = false
description = "Store final snapshot or not when destroying database"
}
variable "apply_immediately" {
type = bool
default = false
description = "Apply changes immediately or wait for next maintenance window"
}
variable "enhanced_monitoring" {
type = bool
default = false
description = "Enable enhanced monitor on the instance"
}
variable "storage_encrypted" {
type = bool
default = true
description = "Enable storage encryption on the instance"
}
variable "parameters" {
type = map(string)
default = {}
description = "parameter group overrides"
}
variable "kms_key_arn" {
type = string
default = null
description = "KMS key to use for encryption, pass null to use AWS default KMS encryption"
}
variable "performance_insights_retention_period" {
type = number
default = 7
description = "Performance insights retention period in days, 7 days is free of charge. Read more here: https://aws.amazon.com/rds/performance-insights/pricing"
}
variable "ca_cert_identifier" {
type = string
default = null
description = "The CA cert identifier to use"
}