if there is no plan diff, prefer the prior state
if there is no plan diff, prefer the prior state

The prior state may contain customizations made by the provider. If
there is no prior state, then take the proposed state.

hashicorp/terraform-plugin-sdk,hashicorp/terraform-plugin-sdk