provider/aws: Allow 'available' state when deleting RDS Clusters
This commit is contained in:
parent
4a6cd9054f
commit
6a9400d10e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue