Interview Prep/Terraform/Refactoring, Migration and Drift

What do you do about a provider bug causing a perpetual diff?

IntermediateProductionRefactoring, Migration and Drift
Answer

Reproduce with the minimal config, search the provider's issue tracker, try a newer version, and work around with ignore_changes on the attribute or by normalising the value in code. Record the workaround with a link to the issue so it can be removed on upgrade.

All Terraform questions Roadmap: Terraform in production

More on Refactoring, Migration and Drift