Releases: gruntwork-io/terragrunt
v0.71.2-alpha2024122002
Features
- Adding the new
exec
command. For more information see this.
Full Changelog: v0.71.1...v0.71.2-alpha2024122002
v0.71.2-alpha2024122001
What's Changed
- initial implementation of
stack generate
Example usage:
unit "mother" {
source = "units/chicken"
path = "mother"
}
unit "father" {
source = "units/chicken"
path = "father"
}
unit "chick_1" {
source = "units/chick"
path = "chicks/chick-1"
}
unit "chick_2" {
source = "units/chick"
path = "chicks/chick-2"
}
Full Changelog: v0.71.0...v0.71.1
v0.71.1
v0.71.0
🔧 Fixes
Terragrunt stdout and stderr streams have been adjusted to more closely align with what users expect when using a tool orchestrating OpenTofu/Terraform.
For more information, read the following docs.
🛠️ Breaking Changes
While a bugfix, if you were relying on the incorrect behavior Terragrunt used, redirecting OpenTofu/Terraform stdout to stderr, you will experience a breaking change in this release.
To avoid having this be a breaking release, you can either use Terragrunt stdout
instead of stderr
for inspecting OpenTofu/Terraform stdout, or you can use stream redirection to reproduce the buggy behavior.
terragrunt plan 1>&2
What's Changed
- fix: Split stdout and stderr streams even when using custom logging by @yhakbar in #3686
- feat: Adding logging docs by @yhakbar in #3688
Full Changelog: v0.70.4...v0.71.0
v0.71.0-beta2024121901
⚠️ Beta Release
You are advised to avoid using this in production.
🛠️ Breaking Changes
This beta includes a breaking change to split the stdout/stderr streams for the Terragrunt logger to better align with what users expect from Terragrunt stdout/stderr.
This will result in Terragrunt stdout forwarding the stdout stream from OpenTofu/Terraform while enriching the content with additional metadata, like the name of the unit, the timestamp, etc using the same log level of STDOUT
.
The Terragrunt stderr stream forwarding the stderr stream from OpenTofu/Terraform will continue to emit to stderr like it did before, with additional metadata, like the name of the unit, the timestamp, etc using the same log level of STDERR
.
This change also impacts how Terragrunt behaves when "headless", e.g. when performing an auto-init. In this mode, Terragrunt will now log that content to INFO
and ERROR
on the stderr stream, as these are background actions that Terragrunt choosing to take on its own, not something that a user is expected to interact with programmatically.
Full Changelog: v0.70.4...v0.71.0-beta2024121901
v0.70.4
v0.70.3
What's Changed
- build(deps): bump filippo.io/age from 1.2.0 to 1.2.1 by @dependabot in #3680
- build(deps): bump go.opentelemetry.io/otel from 1.32.0 to 1.33.0 by @dependabot in #3662
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.32.0 to 1.33.0 by @dependabot in #3663
- build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdoutmetric from 1.32.0 to 1.33.0 by @dependabot in #3664
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc from 1.32.0 to 1.33.0 by @dependabot in #3666
Full Changelog: v0.70.2...v0.70.3
v0.70.2
v0.70.1
v0.70.0
✨ New Features
-
Terragrunt now supports a native Experiment Mode to try out the latest features in Terragrunt before they're fully stable. Over time, we'll be moving some opt-in functionality to this system, and we'll be introducing new features behind it to give users granularity in their use of experimental functionality in Terragrunt.
As part of this new system, we'll also be documenting our experiments in much more detail so that you know exactly what they do, and what is required for them to reach full stability.
-
The catalog and scaffold commands now support configurability in the root configuration include used for their scaffolding.
This allows users to use a root Terragrunt configuration named anything they like, and scaffold new units conveniently, pulling those configurations in with a simple CLI flag.
🛠️ Breaking Changes
The recent work introduced in #3562 to support symlinks has been downgraded to an experiment. We merged in this feature believing it had enough testing to be supported at launch, but quite a bit of unexpected regression occurred as a consequence.
If you are still using this functionality, use the --experiment symlinks
flag to re-enable it in your environments. For more information, you can read the documentation on Controlling Experiment Mode.
⚠️ Deprecations
This release also deprecates one of the longest lasting patterns of Terragrunt usage, the root terragrunt.hcl
file.
To reiterate the note in the migration guide, this is not going to be a breaking change for a very long time, but we want to start encouraging users to adopt new patterns.
The practice of using terragrunt.hcl
as the root of Terragrunt configurations has been harmful to new Terragrunt users and experienced users alike, and we want to have Terragrunt start communicating better practices.
You will have ample warning before this functionality is no longer supported.
📖 Documentation Updates
The Features section of the docs has been revamped significantly to improve the ability to understand and use Terragrunt features at a glance. Much more will be done in the near future to improve the experience of using Terragrunt documentation, and your feedback is always actively solicited!
What's Changed
- feat: Deprecating
terragrunt.hcl
as root by @yhakbar in #3588 - fix:
ProviderCacheWithProviderCacheDir
test by @levkohimins in #3656 - fix: Updated docs JSON formatting by @denis256 in #3668
- fix: Markdown lint fixes by @denis256 in #3670
- fix: Adding redirect entries for all the pages that were renamed by @yhakbar in #3676
- fix: Reintroduce symlink work behind experiment flag by @yhakbar in #3672
- chore: Reorganizing the features section of the docs by @yhakbar in #3640
- build(deps): bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 by @dependabot in #3637
- build(deps): bump github.com/zclconf/go-cty from 1.14.2 to 1.15.1 by @dependabot in #3636
- build(deps): bump github.com/charmbracelet/lipgloss from 0.13.0 to 1.0.0 by @dependabot in #3635
- build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #3634
- build(deps): bump ruby/setup-ruby from 1.202.0 to 1.204.0 by @dependabot in #3660
- build(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1 by @dependabot in #3638
Full Changelog: v0.69.13...v0.70.0