docs/src/data/experiments/optional-hooks.mdx
Support for disabling Terragrunt hooks during run.
optional-hooks - What it doesWhen enabled, users can pass --no-hooks to terragrunt run to skip configured before_hook, after_hook, and error_hook blocks.
terragrunt run --experiment optional-hooks --no-hooks -- plan
This is useful when a run needs to bypass hook automation temporarily, such as when debugging faulty hooks or OpenTofu/Terraform modules.
optional-hooks - How to provide feedbackTrack and discuss this experiment in gruntwork-io/terragrunt#6078.
optional-hooks - Criteria for stabilizationTo transition the optional-hooks feature to a stable release, the following must be addressed: