Commit 9bd4d7ee authored by Anton Babenko's avatar Anton Babenko

Fixed warning in output (fixes #32 and #31)

parent 7d1ad362
......@@ -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
......
......@@ -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
......
# 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)}"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment