From 6a9400d10e438a3927a4465eee019eeee0fb34f0 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Tue, 19 Apr 2016 13:15:45 -0500 Subject: [PATCH] provider/aws: Allow 'available' state when deleting RDS Clusters --- builtin/providers/aws/resource_aws_rds_cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_rds_cluster.go b/builtin/providers/aws/resource_aws_rds_cluster.go index 190b3e275..2d2b0fdf4 100644 --- a/builtin/providers/aws/resource_aws_rds_cluster.go +++ b/builtin/providers/aws/resource_aws_rds_cluster.go @@ -368,7 +368,7 @@ func resourceAwsRDSClusterDelete(d *schema.ResourceData, meta interface{}) error _, err := conn.DeleteDBCluster(&deleteOpts) stateConf := &resource.StateChangeConf{ - Pending: []string{"deleting", "backing-up", "modifying"}, + Pending: []string{"available", "deleting", "backing-up", "modifying"}, Target: []string{"destroyed"}, Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta), Timeout: 5 * time.Minute,