Merge pull request #3847 from betawaffle/master
Add queued as a pending state for Packet provider.
This commit is contained in:
commit
f79af0a445
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue