From 3c1a5007c8069fa27a424d865023e1666c66709c Mon Sep 17 00:00:00 2001 From: rjena5300 Date: Mon, 13 Dec 2021 10:53:32 -0600 Subject: [PATCH] Create rds_family as variable (#210) * rds_family as a variable * Update variables.tf * Update VARIABLES.md * Update CHANGELOG.md * Update VARIABLES.md Co-authored-by: Scott Barnhart Co-authored-by: Scott Barnhart --- CHANGELOG.md | 4 ++++ VARIABLES.md | 1 + db.tf | 2 +- variables.tf | 8 ++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c631bd..9f6da1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [6.11.4] - 2021-12-10 +### Added +- make rds_family as variable + ## [6.11.3] - 2021-11-22 ### Added - make EKS & ECS dashboard optional diff --git a/VARIABLES.md b/VARIABLES.md index 4ad680f..da362a7 100644 --- a/VARIABLES.md +++ b/VARIABLES.md @@ -97,6 +97,7 @@ | table\_param\_filter | A regular expression for selecting necessary table parameters for the SNS listener. If the value isn't set, then no table parameters are selected. | `string` | `""` | no | | vpc\_id | VPC ID. | `string` | n/a | yes | | enable\_dashboard | make EKS & ECS dashboard optional | `bool` | true | no | +| rds\_family | RDS Family | `string` | aurora5.6 | no | ### apiary_assume_roles diff --git a/db.tf b/db.tf index ded26e2..ef828ca 100644 --- a/db.tf +++ b/db.tf @@ -48,7 +48,7 @@ resource "random_string" "db_master_password" { resource "aws_rds_cluster_parameter_group" "apiary_rds_param_group" { name = "${local.instance_alias}-param-group" - family = "aurora5.6" # Needs to be kept in sync with aws_rds_cluster.apiary_cluster.engine and version + family = var.rds_family # Needs to be kept in sync with aws_rds_cluster.apiary_cluster.engine and version description = "Apiary-specific Aurora parameters" tags = merge(map("Name", "${local.instance_alias}-param-group"), var.apiary_tags) diff --git a/variables.tf b/variables.tf index dff3aaa..f455ebe 100644 --- a/variables.tf +++ b/variables.tf @@ -581,3 +581,11 @@ variable "enable_dashboard" { type = bool default = true } + +variable "rds_family" { + description = "RDS family" + type = string + default = "aurora5.6" +} + +