Instead of considering a device successfully provisioned according to the Metal API, await a custom user-state, e.g. user-data-successful, before continuing with the rest of a TF script. Captured here as well: https://github.com/equinix/terraform-provider-equinix/issues/214