provider/openstack: add state 'creating' to blockstorage_volume_v1

This commit adds the "creating" status to the Pending phases of creating a
block storage device.

Closes #3224
This commit is contained in:
Joe Topjian 2015-09-12 02:32:00 +00:00 committed by Paul Hinze
parent 7ea1138b53
commit fd8dba4827
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ func resourceBlockStorageVolumeV1Create(d *schema.ResourceData, meta interface{}
v.ID)
stateConf := &resource.StateChangeConf{
Pending: []string{"downloading"},
Pending: []string{"downloading", "creating"},
Target: "available",
Refresh: VolumeV1StateRefreshFunc(blockStorageClient, v.ID),
Timeout: 10 * time.Minute,