From 412d88e7684c91d77e0a6c2418bb6236401652c1 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Fri, 3 Jun 2016 13:46:01 -0500 Subject: [PATCH] provider/aws: Add db_param group to RDS Cluster Instance test --- .../resource_aws_rds_cluster_instance_test.go | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go b/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go index a3b2d3a35..b832f89b6 100644 --- a/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go +++ b/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go @@ -177,10 +177,25 @@ resource "aws_rds_cluster" "default" { } resource "aws_rds_cluster_instance" "cluster_instances" { - identifier = "tf-cluster-instance-%d" - cluster_identifier = "${aws_rds_cluster.default.id}" - instance_class = "db.r3.large" + 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) }