Skip to content

Commit

Permalink
Create rds_family as variable (#210)
Browse files Browse the repository at this point in the history
* rds_family as a variable

* Update variables.tf

* Update VARIABLES.md

* Update CHANGELOG.md

* Update VARIABLES.md

Co-authored-by: Scott Barnhart <[email protected]>

Co-authored-by: Scott Barnhart <[email protected]>
  • Loading branch information
rjena5300 and barnharts4 authored Dec 13, 2021
1 parent 4400d5a commit 3c1a500
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions VARIABLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
8 changes: 8 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -581,3 +581,11 @@ variable "enable_dashboard" {
type = bool
default = true
}

variable "rds_family" {
description = "RDS family"
type = string
default = "aurora5.6"
}


0 comments on commit 3c1a500

Please sign in to comment.