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:
[ ] Allow tfautomv to take a list of root module paths as arguments
[ ] Update the terraform.Move value object to include the source and target root modules.
[ ] Update the plan step to allow running terraform plan in multiple directories
[ ] Update the analysis step to compare resources from any number of plans
[ ] Update the output step to generate the necessary commands
Nice to haves:
[ ] Run all terraform plan commands in parallel
[ ] Generate a moved block for a move within a root module, and terraform commands for a move across root modules
Currently
tfautomv
only supports runningterraform plan
in a single root module and finding moves to be done in that module. We would like to extendtfautomv
to be able to runterraform 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 theterraform state mv
,terraform state pull
, andterraform state push
commands.This issue will keep track of progress made on this feature.
Must haves:
tfautomv
to take a list of root module paths as argumentsterraform.Move
value object to include the source and target root modules.terraform plan
in multiple directoriesNice to haves:
terraform plan
commands in parallelmoved
block for a move within a root module, andterraform
commands for a move across root modules