Custom Provider: Updating resource state inside a remote-exec provisioner?

Hi, I’ve written a SmartOS provider that I’ve been using successfully for a while. One enhancement I’d like to make is be able to update/add-to resource state inside that resource’s remote-exec provisioner. SmartOS provides a way to update the VM’s metadata from inside the VM but I don’t see a way to have the provider be able to push that updated state since the creation (which completes before the provisioner) is the only place I can see where state is pushed into Terraform. Is there any mechanism to have the provisioner reload the state (and push it into Terraform)?

Thanks!