Zum Inhalt springen

Terragrunt Updates & Release Notes

Einträge
37
Quellen
1
Zuletzt aktualisiert

Folge Terragrunt, um die Release Notes in deinen Feed zu holen.

Terragrunt von Gruntwork

Terragrunt 1.0.6

Version 1.0.6 behebt ein Hängen bei download_dir als nicht-verstecktem Unterverzeichnis der Unit (stattdessen gibt es nun sofort einen Fehler) und lässt mark-many-as-read auch während der Discovery greifen.

🐛 Bug Fixes

terragrunt no longer hangs when download_dir is a non-hidden subdirectory of the unit

Setting download_dir (via the attribute, --download-dir, or TG_DOWNLOAD_DIR) to a subdirectory of the unit's working directory whose name did not start with a dot caused commands that prepare the OpenTofu or Terraform source (apply, plan, run, and similar) to hang.

For example:

# /infra/web/terragrunt.hcl
download_dir = "cache"

terraform {
  source = "./mod"
}

Here terragrunt apply would copy ./mod into cache/, see the new cache/ directory on the next read of the unit, and recurse into it. The default .terragrunt-cache was unaffected because Terragrunt's source-copy step skips any directory whose name starts with a dot.

These configurations now produce an immediate error identifying the source and destination paths.

mark-many-as-read experiment now triggers during discovery

With the mark-many-as-read experiment enabled, a unit whose terraform { source = ... } pointed at a local module did not show up under --filter 'reading=' filters that referenced files inside that module. Discovery would parse the unit, but the module files were never recorded as read, so the reading filter attribute could not match and the queue came back empty. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.5

Version 1.0.5 schreibt über den Provider Cache Server mit der OpenTofu-Registry vollständige .terraform.lock.hcl-Dateien mit h1:-Hashes für alle unterstützten Plattformen.

✨ New Features

Full .terraform.lock.hcl files from the provider cache server

When the provider cache server is used against the OpenTofu provider registry, Terragrunt now writes .terraform.lock.hcl files containing h1: hashes for every platform the registry supports. A single terragrunt init produces a lock file that works on every platform, removing the need to run tofu providers lock -platform=... separately for each target architecture.

provider "registry.opentofu.org/hashicorp/null" {
  version     = "3.2.2"
  constraints = "3.2.2"
  hashes = [
    "h1:+1mRmfyz6oA00IhrrSkHK3h/Mdh032x2p0F6OMdMo5s=",
    "h1:FjLTqvaaYo+vHN8pHZB1cOwEGiNzOj+I9kQyHmr9/7o=",
    # ... one entry per supported platform ...
    "zh:00e5877d19fb1c1d8c4b3536334a46a5c86f57146fd115c7b7b4b5d2bf2de86d",
    # ... one entry per supported platform ...
  ]
}

The hashes come from the registry's per-platform download response. When the registry does not supply them (for example, a third-party registry that has not adopted the field), Terragrunt falls back to its previous behavior of writing an h1: hash for the current platform plus zh: hashes for every platform listed in the shasums document.

[!TIP] Thanks to the OpenTofu team …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.4

Version 1.0.4 cached run_cmd- und Git-Repo-Root-Ergebnisse nun bei jedem Befehl auch ohne Provider Cache Server und ergänzt die strict control fast-copy für schnelleres Kopieren großer Source-Module.

🏎️ Performance Improvements

run_cmd and Git repo-root results memoized without the Provider Cache Server

Within a single command, repeated run_cmd(...) calls and repeated Git repo-root lookups across units used to share their cached results only when the Provider Cache Server was running. Commands invoked without --provider-cache (the common case for find, list, and run --all against estates that do not need provider caching) re-evaluated each run_cmd and re-shelled to git rev-parse --show-toplevel for every unit.

Both caches are now active for every command, so identical run_cmd arguments and repeated repo-root lookups are reused across units regardless of whether the Provider Cache Server is enabled.

fast-copy strict control

With the new fast-copy strict control enabled, Terragrunt compiles each include_in_copy and exclude_from_copy pattern once and evaluates it inline during a single copy walk. This avoids re-walking subdirectories for every pattern, which should result in noticeable speed improvements for large source modules.

terragrunt run plan --strict-control fast-copy
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.3

Version 1.0.3 ergänzt das Flag --no-cas, um CAS pro Befehl zu deaktivieren, und sorgt dafür, dass terragrunt hcl fmt --diff kein externes diff-Programm mehr benötigt.

✨ New Features

--no-cas flag for disabling CAS per command

The new --no-cas flag disables the CAS for a single invocation, even when the cas experiment is enabled. It is available on run, stack generate, and stack run.

terragrunt stack generate --experiment cas --no-cas

This is useful when you want to fall back to the standard getter path without unwinding experiment configuration.

Generation and runs error when --no-cas is combined with update_source_with_cas = true on any reachable unit, stack, or terraform block, since relative sources in catalog repositories cannot be resolved without the CAS.

🐛 Bug Fixes

hcl fmt --diff no longer requires the diff binary

Previously, terragrunt hcl fmt --diff spawned a diff process discovered in $PATH to render its output. This made it incompatible with minimal container images and Windows installations where that binary was unavailable.

The flag now produces unified diff output without depending on any external binary. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.2

Version 1.0.2 behebt die fehlerhafte Serialisierung von Listen- und Map-Werten in remote_state.config, einen Panic in get_repo_root() bei aktiviertem OpenTelemetry-Tracing mit TRACEPARENT sowie das Verhalten von stack output bezüglich des exclude-Blocks.

🐛 Bug Fixes

shared_credentials_files and other list/map backend config values were serialized incorrectly

Setting shared_credentials_files (or any other list-valued key) in the remote_state.config block produced a broken -backend-config argument:

-backend-config=shared_credentials_files=[/a/creds /b/creds]

OpenTofu and Terraform both failed to parse this. The same problem affected map-valued keys. Lists and maps are now written as single-line HCL (["/a/creds","/b/creds"] and {key="value"}), and strings inside them are quoted so embedded quotes, newlines, and tabs survive the round trip.

Thanks to @Rahul-Kumar-prog for contributing this fix!

Panic in get_repo_root() when OpenTelemetry tracing is enabled with TRACEPARENT

Running terragrunt stack generate (or any command that invoked shell commands like git rev-parse) with OpenTelemetry trace exporting enabled (TG_TELEMETRY_TRACE_EXPORTER=http) caused a nil pointer panic:

Call to function "get_repo_root" failed: panic in function implementation:
runtime error: invalid memory address or nil pointer dereference

The root cause of the panic was fixed, and telemetry codepaths have been hardened against future panics.

stack output now respects the exclude block …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.1

Version 1.0.1 fügt die Experimente dag-queue-display (Run-Queue als Abhängigkeitsbaum) und slow-task-reporting (Fortschrittsanzeige für langsame Operationen) hinzu.

🧪 Experiments Added

dag-queue-display — DAG tree visualization for the run queue

A new dag-queue-display experiment renders the run queue as a dependency tree instead of a flat list, making it easier to understand execution order and dependency relationships at a glance.

$ terragrunt run --all --experiment dag-queue-display -- plan
19:06:59.108 INFO   The following units will be run, starting with dependencies and then their dependents:
.
├── monitoring
╰── vpc
    ╰── database
        ╰── backend-app
            ╰── frontend-app

To learn more, see the experiment documentation.

slow-task-reporting — Progress reporting for long-running operations

A new slow-task-reporting experiment displays animated progress spinners for operations that take longer than 1 second, such as source downloads, Git worktree creation, and catalog repository cloning. In non-interactive environments (CI/CD, piped output), spinners are replaced with periodic INFO log lines every 30 seconds to prevent CI systems from killing jobs due to output inactivity.

$ terragrunt run --all --experiment slow-task-reporting -- plan
INFO Downloading source from git::https://github.com/example/module.git...
INFO Downloaded source from git::https://github.com/example/module.git (3.2s)
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt alpha-2026040801

Diese Alpha-Version ist eine Prototyp-Implementierung von Stack dependencies und enthält zahlreiche Fixes, Docs- und Wartungsänderungen.

⚠️ Alpha Release

Prototype implementation of stack dependencies

stacks-deps

RFC: https://github.com/gruntwork-io/terragrunt/issues/5663

What's Changed

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.0

Terragrunt 1.0.0 ist die erste v1-Version ohne künftige Breaking Changes in Minor-Releases, erzeugt immer ein .terragrunt-cache-Verzeichnis und entfernt das eingebaute tflint.

🎉 v1.0.0 Release

Terragrunt is now v1!

This means that Terragrunt will no longer have any breaking changes in minor releases, with all future breaking changes taking place in (infrequent) future major releases.

For a list of guarantees that will be observed by maintainers for the duration of Terragrunt 1.0, see the Terragrunt 1.0 Guarantees page in the docs.

🛠️ Breaking Changes

Consistent .terragrunt-cache directory generation

Terragrunt now creates a .terragrunt-cache directory for every run, regardless of whether the terragrunt.hcl file defines a terraform block with a source attribute.

This change improves consistency across all Terragrunt executions, as OpenTofu/Terraform will now always run within the .terragrunt-cache directory. This standardized behavior simplifies troubleshooting and makes the execution model more predictable.

[!NOTE]
If you currently depend on hidden files located in units to be available in your cache directory, use the include_in_copy attribute of the terraform block.

Removal of tflint

Terragrunt has been shipping with a version of tflint compiled into the binary to allow for more convenient usage without installing tflint directly. However due to the adoption of a BUSL license in tflint, the version included in Terragrunt was frozen. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 0.99.5

Behoben wurden ein Fehler bei der Exit-Code-Verfolgung von plan -detailed-exitcode mit --working-dir sowie ein Fehler, durch den --auth-provider-cmd beim Parsen während der Discovery (z. B. mit --filter 'reading=*') nicht aufgerufen wurde, was Funktionen wie sops_decrypt_file fehlschlagen ließ.

🐛 Bug Fixes

--working-dir interaction with exit codes fixed

A bug in the logic for tracking exit codes for plan -detailed-exitcode when users supply the --working-dir flag has been fixed.

Authentication during queue construction fixed

A bug in the logic for parsing configurations during discovery for use-cases like --filter 'reading=*' where configurations need to be parsed to determine whether or not they end up in the final run queue has been fixed. Configurations will now properly call any configured --auth-provider-cmd authenticator before parsing configurations, preventing errors for HCL functions like sops_decrypt_file that require authentication.

What's Changed

Full Changelog: https://github.com/gruntwork-io/terragrunt/compare/v0.99.4...v0.99.5

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt alpha-2026032001

Alpha-Release, der in Arbeit befindliche Änderungen zur Korrektur der Kombination aus sops_decrypt_file, --auth-provider-cmd und --filter 'reading=' (PR 5722) zum Testen bereitstellt.

⚠️ Alpha Release

Alpha release including WIP work to fix the combination of sops_decrypt_file + --auth-provider-cmd + --filter 'reading=' from the following PR: https://github.com/gruntwork-io/terragrunt/pull/5722

What's Changed

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt alpha-2026031901

Alpha-Release zum Testen der Release-Skripte, der unter anderem Dokumentationskorrekturen, die Behandlung von tofu-Extensions und ein go-getter-Upgrade auf 1.8.5 enthält.

⚠️ Alpha Release

  • Release scripts testing

What's Changed

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt alpha-2026031001

Alpha-Release zum Test der Cosign-v4-Signierung mit kleineren Dokumentations- und Theme-Korrekturen.

⚠️ Alpha Release

  • Cosign v4 signing test

What's Changed

Full Changelog: https://github.com/gruntwork-io/terragrunt/compare/v1.0.0-rc3...alpha-2026031001

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt v1.0.0-rc3

Dritter und letzter Release Candidate für Terragrunt v1.0 mit Fehlerbehebungen, Dokumentationsupdates und letzten Breaking Changes, darunter HCL-Funktionen, die nun betriebssystemnative Dateipfade ohne Normalisierung auf Schrägstriche zurückgeben.

🎉 v1.0.0 Release Candidate

This is the third, and final release candidate for Terragrunt v1.0.

This release introduces bug fixes, documentation updates, some final breaking changes, and some internal housekeeping since RC2. With the release of 1.0 in March, you can expect many stability guarantees from Terragrunt, which are documented here. You have roughly 2-3 weeks to influence the final 1.0 release, so make sure you try this release candidate out and share your feedback. If you have tried this release, make sure to share your feedback with an emoji or a comment on the associated GitHub Discussion.

You can learn more about the release candidate process in The Road to 1.0: Release Schedule blog post.

🛠️ Breaking Changes

Windows compatibility in file paths improved

All HCL functions now return operating system native file paths without forward slash normalization.

  • get_terragrunt_dir()
  • get_original_terragrunt_dir()
  • get_parent_terragrunt_dir()
  • get_path_from_repo_root()
  • get_path_to_repo_root()
  • find_in_parent_folders()
  • path_relative_to_include()
  • path_relative_from_include() …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt v1.0.0-rc2

Zweiter Release Candidate für Terragrunt 1.0 mit Fehlerbehebungen, Dokumentationsupdates und Breaking Changes, darunter dass render --format=json standardmäßig keine Dependents mehr ermittelt.

🎉 v1.0.0 Release Candidate

This is the second release candidate for Terragrunt 1.0.

This release includes bug fixes, documentation updates and a couple breaking changes since RC1 that are necessary to ensure a maximally stable 1.0. With the release of 1.0 in March, you can expect many stability guarantees from Terragrunt, which are documented here. You have roughly 3-5 weeks to influence the final 1.0 release, so make sure you try this release candidate out and share your feedback. If you are happy with this release, make sure to share your feedback with an emoji or a comment on the associated GitHub Discussion.

You can learn more about the release candidate process in The Road to 1.0: Release Schedule blog post.

🛠️ Breaking Changes

render --format=json no longer discovers dependents by default

Prior to this release, the render --format=json command would automatically start to perform dependent discovery on other units related to the unit being rendered. Avoiding this required usage of the --disable-dependent-modules flag. That behavior has been removed. HCL and JSON rendering of unit configurations will now proceed without the additional overhead of dependent discovery by default. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 0.99.4

Die Discovery und Filterung von Units und Stacks wurde deutlich beschleunigt, da Konfigurationen je nach verwendetem Filter nur noch bei Bedarf geparst werden.

🏎️ Performance Improvements

Discovery performance improved

The way in which Terragrunt discovers and filters units and stacks for runs has improved significantly.

<img width="1176" height="677" alt="Screenshot 2026-02-17 at 17 43 55" src="https://github.com/user-attachments/assets/667050f1-488f-4835-9e88-44db86d6d49b" /><img width="1167" height="673" alt="Screenshot 2026-02-17 at 17 44 29" src="https://github.com/user-attachments/assets/2bbf4a09-4533-4100-9cb8-54a218c737c4" /><img width="1166" height="674" alt="Screenshot 2026-02-17 at 17 44 48" src="https://github.com/user-attachments/assets/e7aecf07-d911-4d02-a704-4bda2d94d4b5" />

Terragrunt is now better at avoiding parsing units/stacks unnecessarily, based on the filter you use. Previously, the logic used was more coarse, and could result in a requirement to parse some configurations (e.g. presence of a dependency graph expression to result in parsing all configurations. Discovery has been refactored to allow for much more careful opt-in parsing based on the need to support the filter used by users (or lack thereof).

This will also result in improvements to Terragrunt’s ability to ignore broken parts of infrastructure estates when Terragrunt can predictably determine that it won’t impact a run.

🐛 Bug Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden