From a6d79802804c6d96c3592c08de311b30d0fe9462 Mon Sep 17 00:00:00 2001 From: Linda Xu Date: Mon, 8 Aug 2016 01:15:22 -0700 Subject: [PATCH] fix testAccAWSClusterInstanceEnhancedMonitor function --- .../aws/resource_aws_rds_cluster_instance_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 74a87c1d3..212fab1e5 100644 --- a/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go +++ b/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go @@ -187,7 +187,7 @@ func testAccCheckAWSClusterInstanceExists(n string, v *rds.DBInstance) resource. } } -func testAccAWSCluster_with_InstanceEnhancedMonitor(t *testing.T) { +func TestAccAWSCluster_withInstanceEnhancedMonitor(t *testing.T) { var v rds.DBInstance resource.Test(t, resource.TestCase{ @@ -316,14 +316,14 @@ resource "aws_rds_cluster_instance" "cluster_instances" { cluster_identifier = "${aws_rds_cluster.default.id}" instance_class = "db.r3.large" db_parameter_group_name = "${aws_db_parameter_group.bar.name}" - monitoring_interval = "0" - monitoring_role_arn = "${aws_iam_role.tf_enhanced_monitor_role}" + monitoring_interval = "60" + monitoring_role_arn = "${aws_iam_role.tf_enhanced_monitor_role.arn}" } resource "aws_iam_role" "tf_enhanced_monitor_role" { name = "tf_enhanced_monitor_role-%d" assume_role_policy = <