providers/aws: allow "modifying" as pending state for db instances
fixes #119
This commit is contained in:
parent
77625c6ca9
commit
60ed50b4b6
|
@ -112,7 +112,7 @@ func resource_aws_db_instance_create(
|
||||||
"[INFO] Waiting for DB Instance to be available")
|
"[INFO] Waiting for DB Instance to be available")
|
||||||
|
|
||||||
stateConf := &resource.StateChangeConf{
|
stateConf := &resource.StateChangeConf{
|
||||||
Pending: []string{"creating", "backing-up"},
|
Pending: []string{"creating", "backing-up", "modifying"},
|
||||||
Target: "available",
|
Target: "available",
|
||||||
Refresh: DBInstanceStateRefreshFunc(rs.ID, conn),
|
Refresh: DBInstanceStateRefreshFunc(rs.ID, conn),
|
||||||
Timeout: 10 * time.Minute,
|
Timeout: 10 * time.Minute,
|
||||||
|
|
Loading…
Reference in New Issue