-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Setting the environment variable TERRAGRUNT_USE_PARTIAL_PARSE_CONFIG_CACHE=true
does not activate the feature flag use-partial-parse-config-cache
. Although the documentation lists it as the deprecated alias of TG_USE_PARTIAL_PARSE_CONFIG_CACHE
.
Steps To Reproduce
mkdir temp && cd temp
touch terragrunt.hcl
terragrunt --version
terragrunt version v0.83.2
TERRAGRUNT_USE_PARTIAL_PARSE_CONFIG_CACHE=true terragrunt init --log-level debug
13:44:03.785 DEBUG Terragrunt Version: 0.83.2
13:44:03.785 DEBUG Skipping stack generation in .
13:44:03.785 DEBUG Did not find any locals block: skipping evaluation.
...
Expected behavior
If the flag is enabled, the logs should contain the statement (partial parsing)
TG_USE_PARTIAL_PARSE_CONFIG_CACHE=true terragrunt init --log-level debug
13:44:03.785 DEBUG Terragrunt Version: 0.83.2
13:44:03.785 DEBUG Skipping stack generation in .
13:43:30.681 DEBUG Cache miss for './terragrunt.hcl' (partial parsing), decodeList: '[6 8]'. <--------
13:44:03.785 DEBUG Did not find any locals block: skipping evaluation.
...
Nice to haves
- Terminal output
- Screenshots
Versions
- Terragrunt version: v0.83.2
- OpenTofu/Terraform version: Terraform v1.9.8
- Environment details (Ubuntu 20.04, Windows 10, etc.): Ubuntu 24.04.2 LTS
Additional context
Would it be possible for Terragrunt to print all flags and their value in debug mode?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working