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

v1.2.4

💡 Tips Added

read-not-tracked — Points at every file read that reading filters miss

Terragrunt does not track a file read in a part of a config it evaluates only when it runs the unit: inputs, generate, remote_state, the hooks and extra_arguments of terraform, and the inputs of a variables block. A unit with this configuration is not selected by --filter 'reading=shared/provider.tf' or by a Git filter when shared/provider.tf changes:

# terragrunt.hcl

generate "provider" {
  path      = "provider.tf"
  if_exists = "overwrite"
  contents  = file("../shared/provider.tf")
}

The inputs-read-not-tracked tip pointed only at reads in inputs. The new read-not-tracked tip replaces it and points at a call to any file-reading function in any of these parts, including mark_as_read and mark_glob_as_read:

TIP (read-not-tracked): Terragrunt does not track files read in the parts of a config it evaluates only when it runs the unit, such as `inputs`, `generate`, and hooks, so reading and Git filters miss the units and stacks that read them.

Untracked file read in `generate`
 --> app/terragrunt.hcl:4:15
  |
4 |   contents  = file("../shared/provider.tf")
  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = Call `file` in `locals` and reference the local here.

See https://docs.terragrunt.com/features/filter/attributes#reading-based-expressions
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

v1.2.3

🏎️ Performance Improvements

Faster runs and discovery with less memory

run --all plan takes up to 63% less time than in v1.2.2 and uses up to 18% less peak memory, measured at up to 1,000 units.

find --dependencies uses up to 89% less peak memory, measured at up to 5,000 units that share configuration through include and read_terragrunt_config, in the layout of BenchmarkDiscoverySharedConfig.

These numbers come from benchmarks on an AMD Ryzen AI Max+ 395, with a stand-in for tofu that exits immediately, so they time Terragrunt overhead alone.

Faster dependent filters from below the repository root

A dependent filter, such as --filter '...vpc', is faster when Terragrunt runs from a directory below the repository root. Terragrunt searched the rest of the repository once for the target and again for each dependent it found, so the time grew with the square of the number of dependents. It now searches once.

Finding every dependent of a unit from that unit's directory takes up to 99% less time than in v1.2.2, measured at up to 1,000 units. The same filter from the repository root takes up to 26% less time.

These numbers come from benchmarks on an AMD Ryzen AI Max+ 395. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

v1.2.2

🏎️ Performance Improvements

Faster dependency discovery in large repositories

run --all, and find or list with --dependencies, are faster in large repositories, including ones with no dependency blocks. The time spent linking units to their dependencies now grows linearly with the number of units instead of quadratically.

In benchmarks on an AMD Ryzen AI Max+ 395, discovering units and their dependencies in a generated repository of 10-unit dependency chains:

units before after
10 0.63ms 0.63ms
100 5.2ms 5.0ms
1,000 56ms 47ms
10,000 1.32s 443ms

At 10,000 units, memory allocated during discovery dropped from 8.6 GB to 1.9 GB.

Faster discovery with dependent filters

Terragrunt wastes less time resolving symlinks in discovery. Dependent filters, such as --filter '...vpc' were able to reduce the number of wasted syscalls to resolve symlinks, improving dependent discovery.

On a repository of 1,024 units, discovery with a dependent filter took 30% less time from the repository root and 47% less time from the target unit's directory on an M3 Max. It also allocated 12-16% less memory.

Faster discovery of dependencies …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

v1.2.1

⚙️ Process Updates

Go bumped to v1.27.3 for a security fix

The version of Golang used to compile the Terragrunt binary has been updated from v1.27.2 to v1.27.3.

Go v1.27.3 is a security release. It fixes CVE-2026-111943 in crypto/x509: certificate verification now rejects chains that contain a small set of untrusted intermediate certificates. Terragrunt uses this verification for every HTTPS connection it makes, including source downloads, provider registry lookups, and remote state backends. We recommend upgrading.

Terragrunt runs git, hg, and smbclient source downloads itself

Terragrunt downloaded git::, hg::, and smb:// sources through the getters built into the go-getter library, which started git, hg, and smbclient on their own. Terragrunt now implements these getters itself and starts those programs the same way it runs every other command.

Downloads should behave as they did before. If you find any functional difference, open an issue.

Because the downloads now go through Terragrunt's own command handling, Terragrunt's tests can cover them without a real git, hg, or smbclient install or a remote server, which makes regressions in source downloads easier to catch.

🏎️ Performance Improvements

Faster parsing of shared configuration …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

v1.2.0

🎉 Release v1.2.0

This is a big minor release, and it introduces significant new capabilities in Terragrunt.

For a brief overview of the changes in this release, read the blog post.

This release completes the following experiments:

🛠️ Breaking Changes …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

v1.2.0-rc3

🎉 v1.2.0 Release Candidate

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

It completes the same eleven experiments as v1.2.0-rc2, and adds nine bug fixes found since then.

Unless someone reports a blocking issue, v1.2.0 will ship with the contents of this release candidate. Only fixes for regressions or other urgent bugs will land before then.

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

🛠️ Breaking Changes

base64gzip() now uses the Go 1.27 gzip encoder

Go 1.27 changed the compressed output of its gzip encoder. Terragrunt v1.1.5 kept base64gzip() on the older output and warned once per run that this was legacy behavior. base64gzip() now returns what the Go 1.27 encoder produces.

A resource that compares the encoded value can plan a replacement on the first run after upgrading. An aws_instance with user_data_base64 set from base64gzip() and user_data_replace_on_change set to true is one such resource. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt v1.2.0-rc2: zweiter Release Candidate mit Fehlerbehebungen

Der zweite Release Candidate für Terragrunt v1.2 schließt dieselben elf Experimente wie rc1 ab, behebt vor allem Fehler in CAS, Catalog, Provider Cache Server und exclude-Blöcken und lässt base64gzip() nun die Ausgabe des Go-1.27-Encoders liefern.

🎉 v1.2.0 Release Candidate

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

It completes the same eleven experiments as v1.2.0-rc1, and adds bug fixes found since then, most of them in the CAS, the catalog, the Provider Cache Server, and exclude blocks.

Future release candidates for v1.2.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.

🛠️ Breaking Changes

base64gzip() uses the current Go encoder

Go 1.27 changed the compressed output of its gzip encoder. Terragrunt v1.1.5 kept base64gzip() on the older output and warned once per run that this was legacy behavior. base64gzip() now returns what the Go 1.27 encoder produces. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.2.0-rc1: Erster Release Candidate, base64gzip() geändert

Terragrunt v1.2.0-rc1 ist der erste Release Candidate für v1.2, schließt elf Experimente wie block-iteration, oci und azure-backend ab und ändert als Breaking Change base64gzip() so, dass die Ausgabe des Go 1.27 Encoders verwendet wird.

🎉 v1.2.0 Release Candidate

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

This release completes the following experiments:

  • block-iteration
  • oci
  • bounded-discovery
  • catalog-format
  • mutable-generate
  • optional-dependency-outputs
  • optional-hooks
  • azure-backend
  • version-attribute
  • profiling
  • dependency-fetch-output-from-state

Future release candidates for v1.2.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.

🛠️ Breaking Changes

base64gzip() uses the Go 1.27 encoder

Go 1.27 changed the compressed output of its gzip encoder. Terragrunt v1.1.5 kept base64gzip() on the older output and warned once per run that this was legacy behavior. base64gzip() now returns what the Go 1.27 encoder produces. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.6: Git-Filter unter Windows liefern wieder Ergebnisse

Unter Windows liefern find, list und browse mit einem Git-Filter wie --filter '[main...HEAD]' wieder Ergebnisse für geänderte Units in verschachtelten Verzeichnissen, da nun überall / als Pfadtrenner verwendet wird.

🐛 Bug Fixes

Git filters find nested units on Windows again

On Windows, find, list and browse returned nothing for a Git-based filter such as --filter '[main...HEAD]' when the diff changed only unit configurations in nested directories, like nested\path\terragrunt.hcl.

The worktree optimization in v1.1.5 checks out only the directories of changed units for these commands. On Windows, it spelled those directories with \ separators and looked them up in Git's file listing, which uses /. None matched, so it checked out nothing. Terragrunt now uses / separators for those directories on every platform.

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.5: Erweiterte Kontrolle für doppelte dependency-Labels

Die strikte Kontrolle duplicate-dependency-labels warnt nun auch, wenn zwei dependency-Blöcke mit unterschiedlichen Labels dasselbe config_path nutzen (als Fehler bei aktivierter Kontrolle), und run --all benötigt weniger Remote-Abfragen für gemeinsam genutzte Sources.

✨ New Features

duplicate-dependency-labels also catches a shared config_path

Two dependency blocks with different labels can point at the same config_path. Both parse, so the same unit is declared twice, and the two blocks drift apart as soon as one gains a mock_outputs or skip_outputs the other lacks:

dependency "vpc" {
  config_path = "../vpc"
}

dependency "network" {
  config_path = "../vpc"
}

Terragrunt now warns when it finds this, alongside the existing warning for two blocks sharing a label. With the duplicate-dependency-labels strict control enabled, the warning becomes an error naming both addresses and the path they share:

/path/to/terragrunt.hcl: dependencies vpc and network both point at ../vpc; declare that dependency once and reference it under one name

🏎️ Performance Improvements

Fewer remote probes for sources shared across units

run --all asked the remote what a source resolved to once per unit, so a hundred units sharing one module made a hundred requests. Each of them then read the same commit out of the store for itself.

Units that resolve the same source at the same time now share one probe, and units that need the same Git commit share the work of reading it into the CAS. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.4: Neue strikte Kontrolle duplicate-dependency-labels

Neue strikte Kontrolle duplicate-dependency-labels in Terragrunt v1.1.4: Zwei dependency-Blöcke mit gleichem Label in einer terragrunt.hcl lösen eine Warnung aus, die bei aktivierter Kontrolle zum Fehler wird, und scaffold fragt Werte interaktiv ab.

✨ New Features

duplicate-dependency-labels strict control

Declaring two dependency blocks with the same label in one terragrunt.hcl configuration file parsed without error, and then quietly resolved every reference to that label to whichever block came last. The blocks before it were silently overridden:

dependency "vpc" {
  config_path = "../vpc-us-east-1"
}

dependency "vpc" {
  config_path = "../vpc-us-west-2"
}

inputs = {
  # Reads ../vpc-us-west-2.
  vpc_id = dependency.vpc.outputs.vpc_id
}

Terragrunt now warns when it finds this. With the new duplicate-dependency-labels strict control enabled, the warning becomes an error naming the address the blocks share:

terragrunt run plan --strict-control duplicate-dependency-labels
/path/to/terragrunt.hcl: dependency vpc is declared more than once; every dependency needs an address of its own

Give each block a label of its own. A configuration that was relying on the shadowing to pick the last block should keep only that block.

scaffold asks for values interactively …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.3: Fixes für autoinclude-Inputs und fehlende Zeilenumbrüche

Terragrunt v1.1.3 behebt Unsupported attribute-Fehler bei values.*-Inputs, die per autoinclude gesetzt werden, sowie die Behandlung von Dateien ohne abschließenden Zeilenumbruch bei overwrite_terragrunt und remove_terragrunt.

🐛 Bug Fixes

Fixed Unsupported attribute errors for values.* inputs that autoinclude overrides

A unit input referencing a values.* key that the unit's values file doesn't define no longer fails with Unsupported attribute when an autoinclude block supplies that input. The autoinclude value is applied as intended.

# stacks/terragrunt.stack.hcl
unit "subnet" {
  source = "../units/subnet"
  path   = "subnet"

  autoinclude {
    dependency "vpc" {
      config_path  = unit.vpc.path
      mock_outputs = { vpc_id = "mock" }
    }

    inputs = {
      vpc_id = dependency.vpc.outputs.vpc_id
    }
  }

  values = {
    cidr_block = "10.0.0.0/24"
  }
}
# units/subnet/terragrunt.hcl
inputs = {
  vpc_id     = values.vpc_id      # supplied by autoinclude, not the values file
  cidr_block = values.cidr_block  # still resolves from values file
}

Fixed overwrite_terragrunt and remove_terragrunt on files with no trailing newline

generate blocks using if_exists = "overwrite_terragrunt" or if_disabled = "remove_terragrunt" failed to properly handle existing files when the file at the target path had no newline after its first line, empty files included.

Terragrunt now properly handles files like this, so a file carrying the Terragrunt signature is overwritten or removed as configured, and a file without it produces the usual error naming the path Terragrunt would not touch. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.2: Sofortiges Scaffolding im Catalog-TUI, schnelleres find_in_parent_folders()

Im terragrunt catalog TUI scaffoldet ctrl+d in der README-Ansicht eine Komponente sofort ohne interaktives Formular, und find_in_parent_folders() führt deutlich weniger Dateisystemprüfungen durch.

✨ New Features

Scaffold straight from the catalog README view with ctrl+d

In the terragrunt catalog TUI, pressing ctrl+d while reading a component's README now scaffolds it immediately, skipping the interactive form. Module and template inputs are written as # TODO placeholders, and unit/stack copies get a fully placeholder terragrunt.values.hcl. The hint bar at the bottom of the README view advertises the new key.

🏎️ Performance Improvements

Fewer filesystem checks when resolving find_in_parent_folders()

<img width="2320" height="1780" alt="626834110-d04de8b8-cc1b-4426-ab1f-d1760601dd12" src="https://github.com/user-attachments/assets/1198dc75-21fa-4a55-9534-ec0680a5836f" />

find_in_parent_folders() walks up from a unit toward the filesystem root, checking each directory for the configuration file it was asked to find. Even when the call named a file, as in find_in_parent_folders("root.hcl"), each directory along the way was also checked for the default configuration filenames. Units sharing a parent chain then repeated every check their siblings had already made.

Terragrunt now checks only the filename the call names, and reuses what it already learned about a directory for the rest of the command. Deeply nested estates benefit most, since every level between a unit and its root configuration used to be re-checked once per unit. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.1: assume_role für S3-Backend und sicherere Catalog-Clones

Terragrunt v1.1.1 berücksichtigt assume_role für S3-Backend-Operationen bei extern gelieferten AWS-Credentials, legt für terragrunt catalog sicherere temporäre Clone-Verzeichnisse an und löst dependency-Outputs für Units auf, die in Hooks, extra_arguments oder remote_state auf ihre Dependency verweisen.

🐛 Bug Fixes

Chained role assumption for the S3 backend

When AWS credentials were supplied through --auth-provider-cmd or environment variables, Terragrunt ignored the assume_role attribute of the remote_state block for its own backend operations, such as bootstrapping the state bucket. In cross-account setups this caused access errors, even though OpenTofu/Terraform itself assumed the role correctly during runs.

Terragrunt now uses the supplied credentials as the source identity and assumes the configured role on top of them. The same applies to roles configured via the iam_role attribute or the --iam-assume-role flag, and to fetching dependency outputs directly from S3 state.

Safer temporary clone directories for terragrunt catalog

Terragrunt now creates a fresh temporary clone directory for each catalog load, rejects symlinked clone roots, and removes catalog clones when the TUI session exits.

Resolve dependency outputs for units that reference a dependency in a hook, extra_arguments, or remote_state block

Resolving a unit's dependency outputs for a downstream unit no longer fails when that unit references its own dependency in:

  • a before_hook, after_hook, or error_hook
  • an extra_arguments block
  • a remote_state block

Previously these raised There is no variable named "dependency" on the downstream unit, and a remote_state reference could crash Terragrunt. …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.0

Terragrunt 1.1.0 führt Stack dependencies ein, bei denen ein autoinclude-Block in unit- oder stack-Blöcken Abhängigkeiten und weitere Konfiguration deklarativ ergänzt und unit.<name>.path sowie stack.<name>.path auf generierte Pfade auflöst.

✨ 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" {
  source = "github.com/acme/catalog//units/vpc"
  path   = "vpc"
}

unit "app" {
  source = "github.com/acme/catalog//units/app"
  path   = "app"

  autoinclude {
    dependency "vpc" {
      config_path = unit.vpc.path
    }

    inputs = {
      vpc_id = dependency.vpc.outputs.vpc_id
    }
  }
}

Anything that's valid in a unit configuration is valid in its autoinclude block, so you can also patch catalog units with configuration they don't ship with, like retry rules:

# terragrunt.stack.hcl
unit "app" {
  source = "github.com/acme/catalog//units/app"
  path   = "app"

  autoinclude {
    errors { …

Originalquelle(öffnet in neuem Tab)Problem melden

Terragrunt von Gruntwork

Terragrunt 1.1.0-rc3

Der dritte Release Candidate für Terragrunt 1.1 behebt Fehler, darunter die Auflösung von Dependency-Outputs mit env_vars aus extra_arguments, transitive autoinclude-Abhängigkeiten auf Stack-Verzeichnisse und die Variablenerkennung bei terragrunt scaffold.

🎉 v1.1.0 Release Candidate

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

It carries the same six completed experiments as v1.1.0-rc2, 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 rc2

🐛 Bug Fixes

  • Dependency output resolution: Resolving a dependency block's outputs now applies the env_vars from the unit's extra_arguments blocks whose commands include output (#6396).

  • Stack autoinclude: Transitive autoinclude dependencies that point at a stack directory now resolve correctly (#6389).

  • Scaffold variable detection: terragrunt scaffold now reads input variables from the module directory only, so variable blocks in nested modules or examples no longer leak into the scaffolded inputs (#6381).

💡 Tips Added …

Originalquelle(öffnet in neuem Tab)Problem melden

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