diff --git a/README.md b/README.md index 09757ca0..f9d94c0b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ module "db" { identifier = "demodb" engine = "mysql" - engine_version = "5.7.11" + engine_version = "5.7.19" instance_class = "db.t2.large" allocated_storage = 5 diff --git a/examples/complete/mysql/main.tf b/examples/complete/mysql/main.tf index 943a6130..e0e7506f 100644 --- a/examples/complete/mysql/main.tf +++ b/examples/complete/mysql/main.tf @@ -26,8 +26,9 @@ module "db" { identifier = "demodb" + # All available versions: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt engine = "mysql" - engine_version = "5.7.11" + engine_version = "5.7.19" instance_class = "db.t2.large" allocated_storage = 5 storage_encrypted = false diff --git a/modules/db_parameter_group/outputs.tf b/modules/db_parameter_group/outputs.tf index 226e19d0..edb45b3e 100644 --- a/modules/db_parameter_group/outputs.tf +++ b/modules/db_parameter_group/outputs.tf @@ -1,10 +1,10 @@ # DB parameter group output "this_db_parameter_group_id" { description = "The db parameter group id" - value = "${aws_db_parameter_group.this.id}" + value = "${element(split(",", join(",", aws_db_parameter_group.this.*.id)), 0)}" } output "this_db_parameter_group_arn" { description = "The ARN of the db parameter group" - value = "${aws_db_parameter_group.this.arn}" + value = "${element(split(",", join(",", aws_db_parameter_group.this.*.arn)), 0)}" }