Add queued as a pending state for Packet provider.

This commit is contained in:
Andrew Hodges 2015-11-10 15:38:08 -05:00
parent e27df87b68
commit 2962305125
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func resourcePacketDeviceCreate(d *schema.ResourceData, meta interface{}) error
log.Printf("[INFO] Device ID: %s", d.Id())
_, err = WaitForDeviceAttribute(d, "active", []string{"provisioning"}, "state", meta)
_, err = WaitForDeviceAttribute(d, "active", []string{"queued", "provisioning"}, "state", meta)
if err != nil {
return fmt.Errorf(
"Error waiting for device (%s) to become ready: %s", d.Id(), err)