A tool that automatically deletes import blocks, removed blocks and moved blocks (these are collectively called refactoring blocks in this project) of Terraform.
brew install dev-hato/tap/tfrbac
or, download binary from release.
- move to your Terraform project directory
- run
tfrbac