Zum Inhalt springen

Gruntwork Release Notes

Einträge
67
Quellen
2
Zuletzt aktualisiert

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

Terragrunt von Gruntwork

Terragrunt 1.1.0-rc2

Der zweite Release Candidate für Terragrunt 1.1 enthält Fehlerbehebungen, darunter eine Begrenzung der Glob-Auflösung von mark_glob_as_read auf ein Boundary-Verzeichnis (standardmäßig das Git-Repository-Root).

🎉 v1.1.0 Release Candidate

This is the second release candidate for Terragrunt v1.1.

It carries the same six completed experiments as v1.1.0-rc1, plus bug fixes for those experiments and improvements to how releases are published and verified.

This release completes the following experiments:

  • stack-dependencies
  • cas
  • catalog-redesign
  • mark-many-as-read
  • opt-out-auth
  • dag-queue-display

Future release candidates for v1.1.0 will include bug fixes related to these experiments or other urgent bug fixes as necessary, and documentation improvements.

Please try out this release candidate in lower environments and share your feedback in the associated GitHub discussion.

🆕 Changes since rc1

🐛 Bug Fixes

  • mark_glob_as_read constrains its walk to a boundary. Glob expansion is now confined to a boundary directory, defaulting to the enclosing Git repository root. A pattern whose walk would begin outside the boundary returns an error instead of expanding, so a pattern like "${local.dir}/{*.yaml}" that collapses to /{*.yaml} no longer walks the entire filesystem. Pass a leading --terragrunt-boundary argument to set the boundary explicitly. (#6351) …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.0-rc1

Der erste Release Candidate für Terragrunt 1.1 schließt die Experimente stack-dependencies, cas, catalog-redesign, mark-many-as-read, opt-out-auth und dag-queue-display ab und führt Stack dependencies über autoinclude-Blöcke ein.

🎉 v1.1.0 Release Candidate

This is the first release candidate for Terragrunt v1.1.

This release completes the following experiments:

  • stack-dependencies
  • cas
  • catalog-redesign
  • mark-many-as-read
  • opt-out-auth
  • dag-queue-display

Future release candidates for v1.1.0 will include bug fixes related to these experiments or other urgent bug fixes as necessary, and documentation improvements.

Please try out this release candidate in lower environments and share your feedback in the Associated GitHub discussion.

✨ New Features

Stack dependencies

A stack generates a tree of units from a single terragrunt.stack.hcl file. Wiring one of those units to another used to mean defining dependency blocks in your catalog and threading dependency paths through values. Stack dependencies let you declare those relationships up front instead.

Add an autoinclude block inside a unit or stack block, and Terragrunt generates a partial configuration (a terragrunt.autoinclude.hcl file) next to the generated terragrunt.hcl or terragrunt.stack.hcl that's automatically merged into the unit or stack definition. The new unit.<name>.path and stack.<name>.path references resolve to generated paths, so you don't have to hardcode them:

# terragrunt.stack.hcl
unit "vpc" { …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.8

Version 1.0.8 beschleunigt die Nachverfolgung gelesener Dateien beim Experiment mark-many-as-read und behebt einen Parsing-Fehler bei Kommas in Listenausdrücken von assume_role.

🏎️ Performance Improvements

Faster read-file tracking with the mark-many-as-read experiment

With the mark-many-as-read experiment enabled, Terragrunt records every module file it marks as read during parsing. The bookkeeping for that record scaled quadratically: each new path was checked against every path recorded so far, which got expensive for units with large local module sources, and monorepos paid that cost again for every unit and every command.

Recording a path now takes constant time no matter how many paths came before it, and re-marking already-recorded files is cheaper still. The reading lists reported by find and list are unchanged.

🐛 Bug Fixes

assume_role: preserve commas inside list expressions

Terragrunt previously failed to correctly parse assume_role attributes containing list values such as transitive_tag_keys or policy_arns. Commas inside nested list expressions were incorrectly treated as top-level separators, causing generated configurations to fail with parsing errors.

assume_role = {
  role_arn            = "arn:aws:iam::123456789012:role/test-role"
  transitive_tag_keys = ["Project", "Projects"]
}

This resulted in errors similar to:

Missing item separator; Expected a comma to mark the beginning of the next item.
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.0.7

Version 1.0.7 macht den version-Parameter bei tfr://-Source-URLs optional (es wird die neueste stabile Version geladen) und behebt den Verlust von //subdir bei update_source_with_cas.

✨ New Features

tfr:// source URLs accept an optional version

The version query parameter on tfr:// source URLs is now optional. When omitted, Terragrunt queries the registry's list-versions endpoint and downloads the latest stable version, matching how OpenTofu and Terraform resolve a module reference that has no version constraint.

terraform {
  source = "tfr:///terraform-aws-modules/vpc/aws"
}

Prereleases are excluded from resolution, so a registry that only publishes 4.0.0-rc1 alongside 3.3.0 will pin to 3.3.0. Pin a version explicitly with ?version= when you need reproducible builds or want to opt into a prerelease.

Thanks to @raman1236 for contributing this feature!

🐛 Bug Fixes

update_source_with_cas: preserve //subdir on a unit's terraform.source

When a unit's terraform.source used the // subdir convention (for example, source = "../..//modules/foo") and opted into update_source_with_cas, the rewritten source dropped the //subdir tail and the synthetic tree contained only the leaf module's files. A module that referenced a sibling via a relative path (source = "../bar") could not resolve that reference after materialization. …

Originalquelle(öffnet in neuem Tab)Problem melden

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

Terratest von Gruntwork

Terratest 1.0.0

Erste stabile Terratest-Version mit semantischer Versionierung, durchgängigem context.Context in Cloud-API-Helfern, mockbaren Azure- und GCP-Clients, aktualisierten SDKs und vollständiger Unterstützung von Terragrunt v1.0.

Terratest 1.0.0 is the first stable release of the project. From this release forward, Terratest follows semantic versioning: breaking changes are restricted to major releases, and renamed or replaced symbols stay around as deprecated aliases in the v1 line. See the v1.0 announcement post for the narrative; the notes below cover what shipped.

✨ Highlights

  • Context plumbing throughout. Every cloud-API helper now takes an explicit context.Context as its second argument. FooContext (fail-fast) and FooContextE (returns the error) are the canonical entrypoints; the bare Foo and FooE forms remain as deprecated aliases.
  • Mockable SDK clients. Most Azure and GCP helpers that previously hid SDK client construction now ship with a WithClient sibling that accepts an injected client. Drive Terratest against Azure's azfake server or a GCP test double for fast unit tests with zero credentials.
  • Modern, supported underlying SDKs. modules/azure migrated off Microsoft's archived "track 1" SDK onto sdk/resourcemanager; AWS S3 helpers moved off the deprecated s3/manager to s3/transfermanager.
  • Terragrunt v1.0 feature parity. The terragrunt module fully supports Terragrunt v1.0's CLI redesign with new wrappers and single-unit variants. Terragrunt-specific code is separated from modules/terraform into its own module. …

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