Skip to content

Commit

Permalink
Fixes #14620 Handle migration of data when restoring db cluster from …
Browse files Browse the repository at this point in the history
…snapshot (#14622)

Add `preparing-data-migration` to the list of pending statuses when creating a cluster from a snapshot using a different engine.
  • Loading branch information
Techbrunch authored and stack72 committed May 18, 2017
1 parent 5efe3ad commit 71e5602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/resource_aws_rds_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func resourceAwsRDSClusterCreate(d *schema.ResourceData, meta interface{}) error
log.Println("[INFO] Waiting for RDS Cluster to be available")

stateConf := &resource.StateChangeConf{
Pending: []string{"creating", "backing-up", "modifying"},
Pending: []string{"creating", "backing-up", "modifying", "preparing-data-migration"},
Target: []string{"available"},
Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta),
Timeout: d.Timeout(schema.TimeoutCreate),
Expand Down

0 comments on commit 71e5602

Please sign in to comment.