Skip to content

Commit

Permalink
Make Aurora engine version configurable (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
chauvm authored Sep 12, 2019
1 parent ddf566a commit af52ae6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws-aurora-mysql/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "aurora" {
source = "../aws-aurora"
engine = "aurora-mysql"
engine_version = "5.7"
engine_version = "${var.engine_version}"

project = "${var.project}"
env = "${var.env}"
Expand Down
5 changes: 5 additions & 0 deletions aws-aurora-mysql/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,8 @@ variable "db_deletion_protection" {
type = "string"
default = false
}

variable "engine_version" {
type = "string"
default = "5.7"
}

0 comments on commit af52ae6

Please sign in to comment.