2 ms·
Yea, there are tools to work around it, but the fact that a pure refactor would impact terraform state at all is the design flaw in my eyes. Suddenly, just to
by hamandcheese 2y ago
Yea, there are tools to work around it, but the fact that a pure refactor would impact terraform state at all is the design flaw in my eyes.
Suddenly, just to refactor the source in a way that shouldn't touch any resources, you have to have be able to mutate the terraform state. (Or use the more recently introduced moved blocks, which is still quite a big kludge).
This means any kind of broadly sweeping refactor (which might impact many different state files) is really hard.