File tree Expand file tree Collapse file tree 6 files changed +18
-5
lines changed Expand file tree Collapse file tree 6 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ The following inputs can be used as `step.with` keys
192
192
| ` aws_postgres_subnets ` | String | Specify which subnets to use as a list of strings. Example: ` i-1234,i-5678,i-9101 ` . |
193
193
| ` aws_postgres_database_name ` | String | Specify a database name. Will be created if it does not exist. Default is ` root ` . |
194
194
| ` aws_postgres_database_port ` | String | Specify a listening port for the database. Default is ` 5432 ` .|
195
+ | ` aws_postgres_group_family ` | String | Specify aws postgres group family. Default is ` aurora-postgresql11 ` .|
195
196
<hr />
196
197
<br />
197
198
Original file line number Diff line number Diff line change @@ -160,7 +160,11 @@ inputs:
160
160
aws_postgres_database_port :
161
161
description : ' Postgres database port'
162
162
required : false
163
-
163
+
164
+ aws_postgres_database_group_family :
165
+ description : ' Postgres database group family'
166
+ required : false
167
+
164
168
# Ansible
165
169
application_mount_target :
166
170
description : " Directory path in application env to mount directory, default is `data`"
@@ -222,6 +226,7 @@ runs:
222
226
AWS_ENABLE_POSTGRES : ${{ inputs.aws_enable_postgres }}
223
227
AWS_POSTGRES_ENGINE : ${{ inputs.aws_postgres_engine }}
224
228
AWS_POSTGRES_ENGINE_VERSION : ${{ inputs.aws_postgres_engine_version }}
229
+ AWS_POSTGRES_GROUP_FAMILY : ${{ inputs.aws_postgres_group_family }}
225
230
AWS_POSTGRES_INSTANCE_CLASS : ${{ inputs.aws_postgres_instance_class }}
226
231
AWS_POSTGRES_SUBNETS : ${{ inputs.aws_postgres_subnets }}
227
232
AWS_POSTGRES_DATABASE_NAME : ${{ inputs.aws_postgres_database_name }}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ docker run --rm --name bitops \
73
73
-e DEFAULT_FOLDER_NAME=" _default" \
74
74
-e BITOPS_FAST_FAIL=" ${BITOPS_FAST_FAIL} " \
75
75
-v $( echo $GITHUB_ACTION_PATH ) /operations:/opt/bitops_deployment \
76
- bitovi/bitops:2.4 .0
76
+ bitovi/bitops:2.5 .0
77
77
BITOPS_RESULT=$?
78
78
echo " ::endgroup::"
79
79
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ if [[ $AWS_ENABLE_POSTGRES = true ]]; then
135
135
aws_enable_postgres=$( generate_var aws_enable_postgres $AWS_ENABLE_POSTGRES )
136
136
aws_postgres_engine=$( generate_var aws_postgres_engine $AWS_POSTGRES_ENGINE )
137
137
aws_postgres_engine_version=$( generate_var aws_postgres_engine_version $AWS_POSTGRES_ENGINE_VERSION )
138
+ aws_postgres_group_family=$( generate_var aws_postgres_group_family $AWS_POSTGRES_GROUP_FAMILY )
138
139
aws_postgres_instance_class=$( generate_var aws_postgres_instance_class $AWS_POSTGRES_INSTANCE_CLASS )
139
140
aws_postgres_database_name=$( generate_var aws_postgres_database_name $AWS_POSTGRES_DATABASE_NAME )
140
141
aws_postgres_database_port=$( generate_var aws_postgres_database_port $AWS_POSTGRES_DATABASE_PORT )
@@ -209,6 +210,7 @@ $aws_security_group_name_pg
209
210
$aws_enable_postgres
210
211
$aws_postgres_engine
211
212
$aws_postgres_engine_version
213
+ $aws_postgres_group_family
212
214
$aws_postgres_instance_class
213
215
$aws_postgres_database_name
214
216
$aws_postgres_database_port
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ module "rds_cluster" {
62
62
skip_final_snapshot = true
63
63
create_db_cluster_parameter_group = true
64
64
db_cluster_parameter_group_name = var. aws_resource_identifier
65
- db_cluster_parameter_group_family = " aurora-postgresql11 "
65
+ db_cluster_parameter_group_family = var . aws_postgres_group_family
66
66
db_cluster_parameter_group_description = " ${ var . aws_resource_identifier } cluster parameter group"
67
67
db_cluster_parameter_group_parameters = [
68
68
{
@@ -77,7 +77,7 @@ module "rds_cluster" {
77
77
]
78
78
create_db_parameter_group = true
79
79
db_parameter_group_name = var. aws_resource_identifier
80
- db_parameter_group_family = " aurora-postgresql11 "
80
+ db_parameter_group_family = var . aws_postgres_group_family
81
81
db_parameter_group_description = " ${ var . aws_resource_identifier } example DB parameter group"
82
82
db_parameter_group_parameters = [
83
83
{
Original file line number Diff line number Diff line change @@ -178,7 +178,12 @@ variable "aws_postgres_database_port" {
178
178
default = " 5432"
179
179
description = " database port"
180
180
}
181
-
181
+
182
+ variable "aws_postgres_group_family" {
183
+ type = string
184
+ default = " aurora-postgresql11"
185
+ description = " postgres group family"
186
+ }
182
187
183
188
# # -- EFS -- ##
184
189
variable "aws_create_efs" {
You can’t perform that action at this time.
0 commit comments