Back to Terragrunt

Scaffold Detect Variables In Module Dir

docs/src/data/changelog/v1.1.0/scaffold-detect-variables-in-module-dir.mdx

1.1.0382 B
Original Source

Scaffold only detects variables in the module directory

terragrunt scaffold now reads input variables from the module directory itself, matching what OpenTofu and Terraform load for a root module. Previously it scanned subdirectories too, so variable blocks defined in nested modules or examples leaked into the scaffolded inputs even though the module never exposes them.