Re:Terraform should have remained stateless
by baobob on Saturday May 28, 2022 @06:53AM
(#31539266)
Where would the metadata for the local_file resource be stored? How would Terraform find files it once created and must now delete?
[ Parent
| on HN ]
Same famous problem for any kind of make-based build system, removing targets usually leave old files in your build directory. IIRC Bazel can avoid it but don’t know how, either it must keep a list of old files or compare the entirety of build directory to the build-graph.