provider/aws: Allow 'available' state when deleting RDS Clusters

This commit is contained in:
clint shryock 2016-04-19 13:15:45 -05:00
parent 4a6cd9054f
commit 6a9400d10e
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ func resourceAwsRDSClusterDelete(d *schema.ResourceData, meta interface{}) error
_, err := conn.DeleteDBCluster(&deleteOpts) _, err := conn.DeleteDBCluster(&deleteOpts)
stateConf := &resource.StateChangeConf{ stateConf := &resource.StateChangeConf{
Pending: []string{"deleting", "backing-up", "modifying"}, Pending: []string{"available", "deleting", "backing-up", "modifying"},
Target: []string{"destroyed"}, Target: []string{"destroyed"},
Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta), Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta),
Timeout: 5 * time.Minute, Timeout: 5 * time.Minute,