How to add, use, and update `.terraform.lock.hcl` without pain
Starting from Terraform 1.4.0, the lockfile is always checked before using the cache directory, meaning that Terraform will perform a full initialization even if the cache is present. To solve this, one can either continue using Terraform 1.3.x as the new 0.11 version, set TF_PLUGIN_CACHE_MAY_BREAK_.. read more Â










