We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191257f commit b8c3299Copy full SHA for b8c3299
1 file changed
terragrunt/live/website/terragrunt.hcl
@@ -3,6 +3,15 @@ include "root" {
3
}
4
5
terraform {
6
+ # Prevent OpenTofu/Terraform from generating a .terraform.lock.hcl file
7
+ # inside the live Terragrunt directory. Live folders do not own provider
8
+ # versions — the module lockfile in terraform/website/ is the single
9
+ # source of truth. Without this flag, `terragrunt init` would create a
10
+ # local lockfile here, causing CI to detect uncommitted changes.
11
+ extra_arguments "disable_lockfile" {
12
+ commands = ["init"]
13
+ arguments = ["-lockfile=readonly"]
14
+ }
15
source = "../../../terraform/website/"
16
17
0 commit comments