Closed matchan26 closed 1 year ago
The multi_state migration usually runs terraform plan not only in the from_dir but also to_dir.
Looking at your migration file, I’m aware that you use the force
option, which ignores plan diffs. Cloud you try it without the force
option?
Coincidentally this PR would address this issue
Fixed in v0.3.12 via #139. Thanks for @chrissng
Hi, I have always used this software very frequently. It is a great OSS.
description
For example, if we want to perform a state operation across multiple directories as described above, the terraform plan is currently executed only on the directory set on from_dir, and the results are output. In this case, the source directory can be guaranteed to be normal, but if we want to guarantee the normality of the destination directory, there is no way to check this with the current tfmigrate. Therefore, when executing the
tfmigrate plan
, is it possible to execute theterraform plan
for theto_dir
at the same time as the terraform plan for thefrom_dir
? Thank you!