π οΈ Breaking Changes
Automatic Backend Provisioning Removed
Terragrunt no longer automatically provisions backend resources.
If backend provisioning is required but not explicitly enabled, Terragrunt will now exit with an error.
β Old Behavior (Deprecated)
The following command would silently provision backend resources before execution:
terragrunt plan --non-interactive
β New Behavior
This behavior has been removed. Running the same command without opting in will now produce an error if backend bootstrapping is required.
To continue to automatically bootstrap backends, you must explicitly enable backend provisioning with either the --backend-bootstrap
flag or the TG_BACKEND_BOOTSTRAP
environment variable:
terragrunt plan --backend-bootstrap --non-interactive
or
export TG_BACKEND_BOOTSTRAP=true
terragrunt plan --non-interactive
π§ Migration Guide
- If you relied on automatic backend bootstrapping:
Add--backend-bootstrap
to your Terragrunt commands, or set theTG_BACKEND_BOOTSTRAP
environment variable. - If you donβt require backend provisioning:
No action needed β simply run Terragrunt commands without the flag.
Road to 1.0 Deprecated Feature Removal Schedule #3535
What's Changed
- chore: Disabled automatic backend provisioning by @denis256 in #4703
- docs: Updated migration docs by @yhakbar in #4711
Full Changelog: v0.86.3...v0.87.0