When the flag’s default is a bool, Terragrunt converts the value to a bool, so enable_monitoring=true sets true. A value for any other flag is a string. In a run --all, the value applies to every unit that declares the flag.
Feature flags can also turn off a unit with an exclude block. See Feature flags for more uses.
Examples
Runs a hook only when the run_hook flag is true, and passes another flag to the module as an input.
Names the flag. The configuration reads its value as feature.<name>.value, and --feature <name>=<value> sets it.
Attributes
defaultany
The flag’s value when no --feature flag or TG_FEATURE environment variable sets it. It’s an expression, so it can call a function, e.g. run_cmd to ask an external feature flag service.