You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: disable of default backend provisioning (#4703)
* Backend bootstrap only by explicit flag
* Cleanup
* lint issues
* Updated error explainer error
* Documentation update
* Improved errors detection
* GCP bootstrap flags
* Tests update
* Bootstrap flags update
* Updated --backend-bootstrap to OIDC
* GCP cleanup
* Backend update
* GCP tests cleanup
* AWS tests update
* AWS docs update
* Docs bootstrap fix
* Tests simplification
* docs: Add Terralith to Terragrunt guide (#4709)
* feat: Adding fixture for Terralith to Terragrunt guide
* feat: Adding Terralith to Terragrunt walkthrough
* fix: Use Asides where possible
* fix: Moving import up to avoid breaking list formatting
* fi:x Removing incorrect tip
* fix: Fixing asset links
* fix: The `gitignore` syntax highlight doesn't exist
* fix: Moving fixtures to the `docs-starlight` directory
* fix: Adjusting path
* fix: Removing `package-lock.json` entry in `.vercelignore`
* Revert "fix: Adjusting path"
This reverts commit 62e6d2d.
* fix: Removing duplicate fixtures
* Update docs-starlight/src/content/docs/02-guides/01-terralith-to-terragrunt/05-step-2-refactoring.mdx
Co-authored-by: Zach Goldberg <zach@gruntwork.io>
* fix: Fixing link for fixture code
---------
Co-authored-by: Zach Goldberg <zach@gruntwork.io>
* Updated form link (#4771)
* Polish to contact form (#4769)
* Pricing Page Launch (#4772)
* New supercharge module
* Updates to links etc
* Update copy
* Update docs-starlight/src/components/dv-PetAdvertise.astro
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update docs-starlight/src/components/dv-PetAdvertise.astro
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update docs-starlight/src/components/dv-PetAdvertise.astro
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Polish (#4773)
* fix: ensure custom API endpoints are set correctly (#4756)
* fix: ensure custom API endpoints are set correctly
* refactor: ensure consistent use of awshelper.CreateS3Client
* chore: fix runner-pool experiment tests (#4770)
* Group tests update
* Added checking for group tests
* chore: lint fixes
* runner-pool handling of TestOutputModuleGroups
* Bypass partytown (#4783)
* Bypass partytown
* GTM in header
* fix: Only override ref when not set (#4781)
* A collection of website polishing (#4784)
* Tighten up sidebar.
* Standardize CSS ordering between dev and prod.
Previously, the site would render one way in prod and another in dev! The issue was that vite was tree-shaking CSS and wound up re-ordering things in a way it thought was permissible, whereas in dev, without that optimization, the CSS was actuallys sequenced differently.
This led to a noticable huge margin in dev, but not in prod.
This commit asserts the official ordering the CSS layers, and then adds a fix for the left-margin issue. This should now standard dev and prod.
* Reduce code font-size from 16px to 14px.
* Improve main paragraph text rendering.
Use more readable line height and paragraph separation.
* Improve spacing after file tree.
* Fix sidebar inconsistencies on 3rd level of nav.
* feat: Generate stacks in topological order (#4786)
* feat: Finalizing topological generation of stacks
* feat: Adding tests for topological stack generation
* fix: Address race condition in warning suppression
* feat: Set name of test to `TestStackGenerationWithNestedTopologyWithRacing` to ensure it's caught by race test
* feat: Adding extra generate at the end for confirmation
* fix: Updating expected log messages in tests
* fix: Fixing AWS Account ID w/ Provider CMD (#4779)
* test: Attempting to reproduce issue with OIDC
* fix: Fixing `get_aws_account_id()` when using AuthProviderCmd
* fix: Addressing lint findings
* fix: Adding fixture for backend with OIDC
* fix: Adding integration test for OIDC with backend
* fix: Consolidating logic for AWS credential acquisition
* fix: Addressing lint findings
* test: Removing cleanup to fix this
* fix: Fixing delete bucket cleanup
* fix: Fixing role assumption when env creds aren't fetched from auth provider
* fix: Removing unnecessary debug
* fix: Skipping failing test for now
* Fixed failing OIDC tests
* Tests cleanup
* chore: aws helper complexity reduction
* Updated cleanup order
* enabled build tags
---------
Co-authored-by: Denis O <denis.o@linux.com>
* chore: experiments tests improvements (#4782)
* Group tests update
* Added checking for group tests
* chore: lint fixes
* runner-pool handling of TestOutputModuleGroups
* Updated plan path save file
* Improved FAIL errors
* IsExperimentMode() simplification
* Discovery include flags
* Added passing of discovery include/exclude directories
* Fixed discovery flags passing
* Improved parsing of tests
* docs: Updating migration docs (#4711)
* Added --non-interactive
* Market strict control as completed
* fix: Fixing failing OIDC test (#4791)
---------
Co-authored-by: Yousif Akbar <11247449+yhakbar@users.noreply.github.com>
Co-authored-by: Zach Goldberg <zach@gruntwork.io>
Co-authored-by: Karl Carstensen <karl.carstensen@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: AJ (.jASM) <aj@48k.io>
Co-authored-by: Rodin Velichkov <148242776+rvelichkov@users.noreply.github.com>
Co-authored-by: Josh Padnick <josh@gruntwork.io>
Copy file name to clipboardExpand all lines: docs-starlight/src/content/docs/01-getting-started/04-terminology.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ Terragrunt stores the current state of infrastructure in one or more OpenTofu/Te
92
92
93
93
State is an extremely important concept in the context of OpenTofu/Terraform, and it's helpful to read the relevant documentation there to understand what Terragrunt does to it.
94
94
95
-
Terragrunt has myriad capabilities that are designed to make working with state easier, including automatically provisioning state backend resources, managing unit interaction with external state, and segmenting state.
95
+
Terragrunt has myriad capabilities that are designed to make working with state easier, including tooling to bootstrap state backend resources on demand, managing unit interaction with external state, and segmenting state.
96
96
97
97
The most common way in which state is segmented in Terragrunt projects is to take advantage of filesystem directory structures. Most Terragrunt projects are configured to store state in remote backends like S3 with keys that correspond to the relative path to the unit directory within a project, relative to the root `terragrunt.hcl` file.
Copy file name to clipboardExpand all lines: docs-starlight/src/content/docs/04-reference/03-strict-controls.mdx
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,10 +114,6 @@ Skipping dependency inputs is a performance optimization. For more details on pe
114
114
115
115
**Reason**: Enabling the `skip-dependencies-inputs` option prevents the recursive parsing of Terragrunt inputs, leading to optimized performance during dependency resolution.
116
116
117
-
### require-explicit-bootstrap
118
-
119
-
Require explicit usage of `--backend-bootstrap` to automatically bootstrap backend resources.
120
-
121
117
### root-terragrunt-hcl
122
118
123
119
Throw an error when users try to reference a root `terragrunt.hcl` file using `find_in_parent_folders`.
@@ -251,6 +247,14 @@ The following strict controls have been completed and are no longer needed:
251
247
-[output-all](#output-all)
252
248
-[validate-all](#validate-all)
253
249
250
+
### require-explicit-bootstrap
251
+
252
+
**Status**: Completed - Backend provisioning is no longer performed automatically by default.
253
+
254
+
Terragrunt now requires explicit opt-in to bootstrap backend infrastructure. Use `terragrunt backend bootstrap` or pass `--backend-bootstrap` to a `run` command (e.g., `terragrunt run apply --backend-bootstrap`) to provision or update backend resources referenced by the [`remote_state`](/docs/reference/hcl/blocks/#remote_state) block.
255
+
256
+
This strict control is no longer necessary because the default behavior already requires explicit bootstrapping.
257
+
254
258
### legacy-all
255
259
256
260
**Status**: Completed - The legacy `*-all` commands have been removed from Terragrunt.
Copy file name to clipboardExpand all lines: internal/strict/controls/controls.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ func New() strict.Controls {
80
80
Error: errors.Errorf("Bootstrap backend for remote state by default is no longer supported. Use `--backend-bootstrap` flag instead."),
81
81
Warning: "Bootstrapping backend resources by default is deprecated functionality, and will not be the default behavior in a future version of Terragrunt. Use the explicit `--backend-bootstrap` flag to automatically provision backend resources before they're needed.",
Copy file name to clipboardExpand all lines: shell/error_explainer.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@ var terraformErrorsMatcher = map[string]string{
27
27
"(?s).*NoCredentialProviders(?s).*": "Missing AWS credentials. Provide credentials to proceed.",
28
28
"(?s).*client: no valid credential sources(?s).*": "Missing AWS credentials. Provide credentials to proceed.",
29
29
"(?s).*exec: \"(tofu|terraform)\": executable file not found(?s).*": "The executables 'terraform' and 'tofu' are missing from your $PATH. Please add at least one of these to your $PATH.",
30
+
"(?s).*bucket must have been previously created.*": "Remote state bucket not found, create it manually or rerun with --backend-bootstrap to provision automatically.",
31
+
"(?s).*specified bucket does not exist.*": "Remote state bucket not found, create it manually or rerun with --backend-bootstrap to provision automatically.",
32
+
"(?s).*S3 bucket does not exist.*": "Remote state bucket not found, create it manually or rerun with --backend-bootstrap to provision automatically.",
30
33
}
31
34
32
35
// ExplainError will try to explain the error to the user, if we know how to do so.
0 commit comments