Back to Terragrunt

No Hooks

docs/src/data/flags/no-hooks.mdx

1.0.8496 B
Original Source

import { Aside } from '@astrojs/starlight/components';

<Aside type="tip" title="Experimental"> This flag is gated behind the [`optional-hooks`](/reference/experiments/active#optional-hooks) experiment. Enable it with `--experiment=optional-hooks` or `TG_EXPERIMENT=optional-hooks`; otherwise setting `--no-hooks` returns an error. </Aside>

Skip Terragrunt hooks during a run.

When enabled, Terragrunt does not execute configured before_hook, after_hook, or error_hook blocks for the run.