Releases: gruntwork-io/terragrunt
v0.69.13
What's Changed
- feat: Incorporating user feedback on the Getting Started guide by @yhakbar in #3648
- fix: Add redirect for unused contact page. by @panzacoder in #3653
- fix: Don't require HOME if TERRAGRUNT_PROVIDER_CACHE_DIR is set by @g7r in #3649
New Contributors
- @panzacoder made their first contribution in #3653
- @g7r made their first contribution in #3649
Full Changelog: v0.69.12...v0.69.13
v0.69.12
v0.69.11
What's Changed
- docs: Adding signature verification docs by @yhakbar in #3647
- docs: Add missed close parenthesis in Terminology docs by @Rindrics in #3651
- build(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 by @dependabot in #3650
New Contributors
Full Changelog: v0.69.10...v0.69.11
v0.69.10
v0.69.9
Updated CLI args, config attributes and blocks
engine
What's Changed
- chore: enhanced engine extraction - switched to using the internal library for archive extraction, resulting in resolving CVEs
- build(dep): bump github.com/creack/pty from 1.1.17 to 1.1.24
- build(dep): bump github.com/charmbracelet/bubbles from 0.16.1 to 0.20.0
Full Changelog: v0.69.8...v0.69.9
v0.70.0-beta2024120501
Deprecation Notice
This release deprecates terragrunt.hcl
as the idiomatic root of Terragrunt configurations.
Naming the file placed at the root of Terragrunt configurations terragrunt.hcl
is a pattern that does not provide any functional advantage over calling it anything else (e.g. root.hcl
), but does serve to provide additional confusion and risk to Terragrunt users, as they can easily use Terragrunt in such a way that it ends up treating the terragrunt.hcl
file at the root as a unit instead of shared configuration.
This pattern is very longstanding in typical Terragrunt usage, so changing it can be difficult. To get the ball rolling on this, the behavior will be deprecated, but still supported for the near future (and for a pretty long time thereafter).
How this will be achieved
Terragrunt will now emit warnings whenever it detects that users are following a pattern indicating usage of a root terragrunt.hcl
file.
The warning will look like this:
16:04:54.555 WARN Using `terragrunt.hcl` as the root of Terragrunt configurations is an anti-pattern, and no longer recommended. In a future version of Terragrunt, this will result in an error. You are advised to use a differently named file like `root.hcl` instead. For more information, see https://terragrunt.gruntwork.io/docs/migrate/migrating-from-root-terragrunt-hcl
You can take a look at what those docs will look like here.
Those docs include information on a new Strict Control named root-terragrunt-hcl that will allow users to opt-in for a breaking change preventing usage of a root terragrunt.hcl
.
Using this strict control will also update defaults for commands like scaffold
and catalog
so that they don't assume usage of a root terragrunt.hcl
file.
Feedback Requested
You are encouraged to share your feedback on this pre-released change. You can either share your feedback via the associated GitHub Discussion, or you can share your feedback in our Discord.
Full Changelog: v0.69.7...v0.70.0-beta2024120501
v0.69.8
Updated CLI args, config attributes and blocks
errors
What's Changed
- feat: Enhanced support for handling negative error patterns in the
error
block. - fix: Resolved broken links in the documentation.
- chore: Updated documentation to clarify the priority of error evaluation within the
error
block.
Full Changelog: v0.69.7...v0.69.8
v0.69.7
v0.69.6
Updated CLI args, config attributes and blocks
errors
New Feature: errors
configuration block
This release introduces an improved configuration block for managing errors, enhancing the flexibility of retry and ignore mechanisms. These new features provide fine-grained control over error handling, ensuring a smoother and more robust execution flow.
Example
errors {
# Retry block for transient errors
retry "retry_network" {
retryable_errors = [".*Error: network timeout.*"]
max_attempts = 3
sleep_interval_sec = 5
}
# Ignore block for non-critical errors
ignore "ignore_warnings" {
ignorable_errors = [
".*Warning: non-critical issue.*"
]
message = "Ignoring non-critical warnings"
}
}
Demo
Ignore error:
Retry error:
What's Changed
- Added
errors
block
Related links
Full Changelog: v0.69.5...v0.69.6
v0.69.5
Updated CLI args, config attributes and blocks
New Flags
--terragrunt-hclfmt-exclude-dir
: Exclude directories from HCL formatting when using thehclfmt
command. For more, see the docs.
What's Changed
- feat: add
--terragrunt-hclfmt-exclude-dir
parameter tohclfmt
command by @wakeful in #3609 - fix: Fixing concurrent access to read files map by @yhakbar in #3615
- build(deps): bump github.com/ProtonMail/go-crypto from 1.1.0-beta.0-proton to 1.1.3 by @dependabot in #3598
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc from 1.31.0 to 1.32.0 by @dependabot in #3597
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.22.0 to 1.32.0 by @dependabot in #3595
New Contributors
Full Changelog: v0.69.3...v0.69.5