Update dependency gruntwork-io/terragrunt to v0.85.0 #440
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.83.2
->0.85.0
Release Notes
gruntwork-io/terragrunt (gruntwork-io/terragrunt)
v0.85.0
Compare Source
🛠️ Breaking Changes
Removal of legacy Terragrunt flags
All deprecated flags that start with
--terragrunt-
have been removed in favor of their modern counterparts.This is the next step in the removal of deprecated features in
Terragrunt on the road to Terragrunt 1.0, with more to follow. Read the CLI Redesign migration guide for future breaking changes.
Update of
stack run
directory contextThe
stack run
command no longer assumes that users will have a.terragrunt-stack
directory present in the same directory as theterragrunt.stack.hcl
file. This caused issues for users that were leveraging theno_dot_terragrunt_stack
attribute, as the run might have skipped over units generated outside the.terragrunt-stack
directory and thrown an error if all units were generated without the.terragrunt-stack
directory.For the following
terragrunt.stack.hcl
file:Users would experience the following
stack run
output:They will now get the following:
✨ Features
The
runner-pool
experiment has been integrated with OpenTelemetryThe runner-pool experiment has been updated to integrate properly with OpenTelemetry.
🐛 Bug Fixes
stack output
now respectsno_dot_terragrunt_stack
Previously, when running the
stack output
command, Terragrunt would incorrectly assume that all units were generated within a.terragrunt-stack
directory. This bug has been fixed, and Terragrunt will know to look directly in the stack directory for a given unit when supplied withno_dot_terragrunt_stack
.The
runner-pool
experiment no longer parses stack files as units during discoveryA bug in the logic for the
discovery
package resulted in discovery errors due toterragrunt.stack.hcl
files being parsed as units. That bug has been fixed.Fixed filesystem context for
find_in_parent_folders()
when used interragrunt.stack.hcl
The use of
find_in_parent_folders()
now functions correctly when run in the context of aterragrunt.stack.hcl
file. Previously, it relied on the current working directory of the Terragrunt CLI, which incorrectly assumed that users would always be generatingterragrunt.stack.hcl
files from the current working directory.The
discovery
package now emits less false positive warnings during parsingThe
discovery
package used by thefind
andlist
commands, and therunner-pool
experiment has been updated to emit less unimportant warnings when parsing configurations. These warnings were for early phase parsing that are known to be safe to ignore.The
discovery
package no longer attempts to parse stack configurations as unitsA bug in the implementation of the
discovery
package resulted in attempts from Terragrunt to parseterragrunt.stack.hcl
files as units. That has been remediated.📖 Docs
Edit Link Added
The terragrunt-v1.gruntwork.io docs now include an "Edit page" button that conveniently allows the community to contribute fixes to documentation from within their browsers, using the GitHub UI.
What's Changed
runner-pool
OpenTelemetry integration by @denis2https://github.com/gruntwork-io/terragrunt/pull/4616l/4616stack output
respectno_dot_terragrunt_stack
by @yhakbhttps://github.com/gruntwork-io/terragrunt/pull/4606l/4606--queue-include-dir
includes stack paths that have not yet been generated by @wakefhttps://github.com/gruntwork-io/terragrunt/pull/4649l/4649stack output
command by @yhakbhttps://github.com/gruntwork-io/terragrunt/pull/4652l/4652stack run
when there are only units withno_dot_terragrunt_stack
set by @yhakbhttps://github.com/gruntwork-io/terragrunt/pull/4628l/4628find_in_parent_folders
forterragrunt.stack.hcl
files by @yhakbhttps://github.com/gruntwork-io/terragrunt/pull/4669l/4669--terragrunt-
flag removal by @yhakbhttps://github.com/gruntwork-io/terragrunt/pull/4671l/4671Full Changelog: gruntwork-io/terragrunt@v0.84.1...v0.85.0
v0.84.1
Compare Source
What's Changed
Full Changelog: gruntwork-io/terragrunt@v0.84.0...v0.84.1
v0.84.0
Compare Source
🛠️ Breaking Changes
Removal of
legacy-all
commandsThe following commands have been removed from the Terragrunt CLI:
spin-up
tear-down
plan-all
apply-all
destroy-all
output-all
validate-all
If you have been using any of these commands, see the migration guide under
Removal of longstanding deprecated commands
here.This is the first step in the removal of deprecated features in Terragrunt on the road to Terragrunt 1.0, with more to follow. You are also advised to read the CLI Redesign migration documentation for future breaking changes.
See #3535 for more details.
✨ New Features
Catalog/Scaffold now support
--no-dependency-prompt
The
catalog
/scaffold
commands now support a new--no-dependency-prompt
flag that disables the Boilerplate dependency prompt (equivalent of--disable-dependency-prompt
in Boilerplate).This allows Boilerplate templates with dependencies to be used non-interactively, even when called by Catalog and Scaffold.
exclude
block now supportsno_run
The
exclude
block now supports theno_run
attribute, which lets users prevent direct runs of a unit when the run matches the configuration of an exclude block.e.g. When users define an
exclude
block like the following:Terragrunt will only exclude the unit
foo
from the run queue if the user supplies a command likerun --all plan
. If a user uses therun plan
command directly in thefoo
directory, it’s assumed that they are doing so intentionally, and don’t want the run to exit early.Users can now specify
no_run
to explicitly tell Terragrunt that it should never be run, even if a user attempts to perform the run in the unit directory directly.💪🏽 Enhancements
Stacks are now fully regenerated when the
--source-update
flag is setThe
.terragrunt-stack
directory is now fully regenerated when the--source-update
flag is set, similar to how the.terragrunt-cache
directory is regenerated when the flag is set.This addresses some edge-cases where changes to local sources for units and stacks didn’t result in updates to generated stack configurations.
🐛 Bug Fixes
Stack Outputs Are Now Sorted
To ensure consistency in the order in which outputs are displayed when using the
stack output
command, outputs are now sorted before they are displayed.Lockfiles With Strong Constraints Normalized
When manually generating lockfiles from the Provider Cache Server for modules with strong constraints like the following:
Generated lockfiles now properly strip the
=
when generating the lockfile, as=
constraints aren’t supported in.terraform.lock.hcl
files.What's Changed
--no-dependency-prompt
option for scaffold by @markoeremija in #4420no_run
inexclude
block by @yhakbar in #4574writevalues
instack.go
by @pseudomorph in #4552CleanStacks
before running thestacks Generate
func. by @wakeful in #4446nokogiri
from 1.18.8 to 1.18.9 in/docs
by @dependabot[bot] in #4553ruby/setup-ruby
from 1.245.0 to 1.253.0 by @dependabot[bot] in #4570auto-provider-cache-dir
experiment integration test by @yhakbar in #4554charmbracelet/x/ansi
by @denis256 in #4564legacy-all
commands by @yhakbar in #4572gopls
cron by @yhakbar in #4594New Contributors
Full Changelog: gruntwork-io/terragrunt@v0.83.2...v0.84.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.