Show HN: I built a tool to refactor Terraform's tftate based on source code
github.com
This tool generates import blocks, removed blocks, and moved blocks based on differences in the sourcecode and tfstate.
You can refactor the state of resources and modules using the official interface using import/removed/moved blocks.