Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions terragrunt/live/website/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ include "root" {
}

terraform {
# Prevent OpenTofu/Terraform from generating a .terraform.lock.hcl file
# inside the live Terragrunt directory. Live folders do not own provider
# versions — the module lockfile in terraform/website/ is the single
# source of truth. Without this flag, `terragrunt init` would create a
# local lockfile here, causing CI to detect uncommitted changes.
extra_arguments "disable_lockfile" {
commands = ["init"]
arguments = ["-lockfile=readonly"]
}
source = "../../../terraform/website/"
}

Expand Down