Removed storing the component config hash in terraform state, and instead store it in a .mach/hashes.json file.
Because reading state requires a terraform init for every component before actually checking for changes the actual apply process is very slow. By storing the hashes into a file on disk we can speed up the process enormously as we can now skip many of the inits up front.
Removed storing the component config hash in terraform state, and instead store it in a
.mach/hashes.json
file.Because reading state requires a terraform init for every component before actually checking for changes the actual apply process is very slow. By storing the hashes into a file on disk we can speed up the process enormously as we can now skip many of the inits up front.