Back to Terragrunt

No Auto Init

docs/src/data/flags/no-auto-init.mdx

1.0.3589 B
Original Source

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

When enabled, Terragrunt will not automatically run init before other OpenTofu/Terraform commands.

To learn more about how to use this flag, see the Auto-init feature documentation.

<Aside type="caution"> When `--no-auto-init` is enabled, you must manually run `terragrunt init` if needed. Terragrunt will fail if it detects that initialization is required but auto-init is disabled.

This is particularly important when using custom plugin directories or when working in CI/CD environments.

</Aside>