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 = <