Skip to content

Commit

Permalink
Allow 10 minutes for device adoption (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaspence authored Feb 28, 2023
1 parent 9417b0c commit f475b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func resourceDeviceCreate(ctx context.Context, d *schema.ResourceData, meta inte
return diag.FromErr(err)
}

device, err = waitForDeviceState(ctx, d, meta, unifi.DeviceStateConnected, []unifi.DeviceState{unifi.DeviceStateAdopting, unifi.DeviceStatePending, unifi.DeviceStateProvisioning, unifi.DeviceStateUpgrading}, 5*time.Minute)
device, err = waitForDeviceState(ctx, d, meta, unifi.DeviceStateConnected, []unifi.DeviceState{unifi.DeviceStateAdopting, unifi.DeviceStatePending, unifi.DeviceStateProvisioning, unifi.DeviceStateUpgrading}, 10*time.Minute)
if err != nil {
return diag.FromErr(err)
}
Expand Down

0 comments on commit f475b21

Please sign in to comment.