busser / tfautomv

Generate Terraform moved blocks automatically for painless refactoring
https://github.com/busser/tfautomv
Apache License 2.0
682 stars 24 forks source link

Allow finding moves across multiple root modules #52

Closed busser closed 4 months ago

busser commented 1 year ago

Currently tfautomv only supports running terraform plan in a single root module and finding moves to be done in that module. We would like to extend tfautomv to be able to run terraform plan in any number of root modules and to find moves within and across these modules.

Terraform's moved blocks don't work across root modules but we can achieve the desired result with the terraform state mv, terraform state pull, and terraform state push commands.

This issue will keep track of progress made on this feature.


Must haves:

Nice to haves:

busser commented 4 months ago

Achieved in v0.6 :)