provider/aws: Add db_param group to RDS Cluster Instance test

This commit is contained in:
clint shryock 2016-06-03 13:46:01 -05:00
parent 5ca5b1e3a1
commit 412d88e768
1 changed files with 18 additions and 3 deletions

View File

@ -180,7 +180,22 @@ resource "aws_rds_cluster_instance" "cluster_instances" {
identifier = "tf-cluster-instance-%d"
cluster_identifier = "${aws_rds_cluster.default.id}"
instance_class = "db.r3.large"
db_parameter_group_name = "${aws_db_parameter_group.bar.name}"
}
resource "aws_db_parameter_group" "bar" {
name = "tfcluster-test-group"
family = "aurora5.6"
parameter {
name = "back_log"
value = "32767"
apply_method = "pending-reboot"
}
tags {
foo = "bar"
}
}
`, n, n)
}