Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include .terraform.lock.hcl in CopyTerraformFolderToDest (#1117)
This commit adds in the filter from the function CopyTerragruntFolderToDest an exclusion exception for the lock file. The `.terraform.lock.hcl` used by Terraform to lock the versions of the providers is not included during the copy. It can bring weird behaviors when the copy is skipped (check the function test_structure.CopyTerraformFolderToDest) where version 1.1 of a provider would be used in the example folder but might be updated during the `terraform init` due to the copy without the lock file. The lock file should be included within the copy to keep the same providers' versions. Fix: #1116
- Loading branch information