Add `preparing-data-migration` to the list of pending statuses when creating a cluster from a snapshot using a different engine.
This commit is contained in:
parent
5efe3ad6b3
commit
71e5602d79
|
@ -308,7 +308,7 @@ func resourceAwsRDSClusterCreate(d *schema.ResourceData, meta interface{}) error
|
||||||
log.Println("[INFO] Waiting for RDS Cluster to be available")
|
log.Println("[INFO] Waiting for RDS Cluster to be available")
|
||||||
|
|
||||||
stateConf := &resource.StateChangeConf{
|
stateConf := &resource.StateChangeConf{
|
||||||
Pending: []string{"creating", "backing-up", "modifying"},
|
Pending: []string{"creating", "backing-up", "modifying", "preparing-data-migration"},
|
||||||
Target: []string{"available"},
|
Target: []string{"available"},
|
||||||
Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta),
|
Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta),
|
||||||
Timeout: d.Timeout(schema.TimeoutCreate),
|
Timeout: d.Timeout(schema.TimeoutCreate),
|
||||||
|
|
Loading…
Reference in New Issue