File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ module "controllers" {
52
52
boundary_release = var. boundary_release
53
53
bucket_name = aws_s3_bucket. boundary . id
54
54
desired_capacity = var. controller_desired_capacity
55
+ engine_version = var. engine_version
55
56
image_id = local. image_id
56
57
instance_type = var. controller_instance_type
57
58
key_name = var. key_name
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ module "postgresql" {
165
165
backup_retention_period = 0
166
166
backup_window = " 03:00-06:00"
167
167
engine = " postgres"
168
- engine_version = " 12.4 "
168
+ engine_version = var . engine_version
169
169
family = " postgres12"
170
170
identifier = " boundary"
171
171
instance_class = " db.t2.micro"
Original file line number Diff line number Diff line change @@ -56,13 +56,19 @@ variable "min_size" {
56
56
type = number
57
57
}
58
58
59
+ variable "engine_version" {
60
+ default = " 12.10"
61
+ description = " The engine_version of the postgres db, within the postgres12 family"
62
+ type = string
63
+ }
64
+
59
65
variable "private_subnets" {
60
- description = " List of private subnets "
66
+ description = " List of private subnet ids "
61
67
type = list (string )
62
68
}
63
69
64
70
variable "public_subnets" {
65
- description = " List of public subnets "
71
+ description = " List of public subnet ids "
66
72
type = list (string )
67
73
}
68
74
Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ variable "controller_min_size" {
34
34
type = number
35
35
}
36
36
37
+ variable "engine_version" {
38
+ default = " 12.10"
39
+ description = " The engine_version of the postgres db, within the postgres12 family"
40
+ type = string
41
+ }
42
+
37
43
variable "key_name" {
38
44
default = " "
39
45
description = " The name of the key pair"
You can’t perform that action at this time.
0 commit comments