Skip to content

Releases: gruntwork-io/terragrunt

v0.73.8

18 Feb 19:19
0b550a3
Compare
Choose a tag to compare

✨ New Features

The scaffold command now supports the --output-folder flag for controlling where modules are scaffolded.

What's Changed

Full Changelog: v0.73.7...v0.73.8

v0.73.7

18 Feb 16:39
16f6356
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.73.6...v0.73.7

v0.73.6

15 Feb 18:30
cdba05b
Compare
Choose a tag to compare

✨ New Features

The terragrunt stack command now supports unit values.

stack-values-3

# terragrunt.stack.hcl
locals {
	project = "test-project"
}

unit "app1" {
	source = "units/app"
	path   = "app1"

	values = {
		project    = local.project
		deployment = "app1"
	}
}

# units/app/terragrunt.hcl
locals {
  data = "data: ${unit.values.deployment}-${unit.values.project}"
}

inputs = {
  deployment = unit.values.deployment
  project = unit.values.project
  data = local.data
}

To try it out, make sure you enable the stacks experiment.

What's Changed

Full Changelog: v0.73.5...v0.73.6

RFC: #3313

v0.73.6-beta2025021401

14 Feb 19:43
ea30872
Compare
Choose a tag to compare
Pre-release

⚠️ Beta Release

This beta release demonstrates current progress on stack unit values

What's Changed

  • feat: added support for stack unit values

Demo:

stack-values-3

v0.73.5

14 Feb 18:41
b782646
Compare
Choose a tag to compare

What's Changed

  • feat: added self-hosted gitlab to catalog command by @j2udev in #3867

New Contributors

Full Changelog: v0.73.4...v0.73.5

v0.73.4

14 Feb 18:30
ea30d8e
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump github.com/charmbracelet/bubbletea to v1.3.3
  • build(deps): bump golang.org/x/mod to v0.23.0

Full Changelog: v0.73.3...v0.73.4

v0.73.3

14 Feb 16:14
9555a9f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.73.2...v0.73.3

v0.73.2

13 Feb 20:29
c49ea4f
Compare
Choose a tag to compare

What's Changed

  • fix: Fixing excessive warning for dependency input usage by @yhakbar in #3879
  • fix: Correct displaying deprecated flag warnings by @levkohimins in #3880

Full Changelog: v0.73.1...v0.73.2

v0.73.1

12 Feb 14:03
a02986e
Compare
Choose a tag to compare

✨ New Features

Stack clean command

Added a new clean sub-command to the terragrunt stack command, enabling users to remove generated stack files.

stacks-clean

To try it out, make sure you enable the stacks experiment.

Read the docs to learn more.

What's Changed

  • feat: Added stack clean command to clean stack generated files by @denis256 in #3871
  • fix: Fixing CLI option for --queue-include-unit-reading by @yhakbar in #3869
  • fix: TestStacksGenerateRemote by @denis256 in #3865
  • feat: Redesign CLI help by @levkohimins in #3870
  • docs: Adjusting icons for Terragrunt .hcl configs and OpenTofu .tf configs in the FileTree component by @yhakbar in #3868

Full Changelog: v0.73.0...v0.73.1

v0.73.0

10 Feb 22:59
a958298
Compare
Choose a tag to compare

🛠️ Breaking Changes

Removal of terragrunt- prefix in flags

All Terragrunt CLI flags no longer start with the terragrunt- prefix. This will not immediately break workflows, but will start to emit warnings for users.

We will announce removal of support for flags without the terragrunt- prefix well in advance, and it will be done in a future minor release before v1.0.

You can opt in to making this a breaking change today via usage of the terragrunt-prefix-flags strict control.

Rename of TERRAGRUNT_ prefixed environment variables

All Terragrunt environment variables are no longer prefixed with TERRAGRUNT_, but are now instead prefixed with TG_. This will not immediately break workflows, but will start to emit warnings for users.

We do not currently have plans to remove support for environment variables with the TERRAGRUNT_ prefix, and are aiming to support them after the release of v1.0, as we know this can be a more difficult configuration to change.

You can opt in to making this a breaking change today via usage of the terragrunt-prefix-env-vars strict control.

Removal of support for the Terragrunt default command

Prior to this release, Terragrunt would forward all commands that were not defined in the Terragrunt CLI directly to OpenTofu/Terraform. With the introduction of the new run command, this behavior is no longer necessary, nor desirable. In addition to supporting the new run command, Terragrunt now also supports explicit OpenTofu shortcuts. You can learn more about both below.

We will announce removal of support for the default command of Terragrunt well in advance, and it will be done in a future minor release before v1.0.

You can opt in to making this a breaking change today via usage of the default-command strict control.

✨ New Features

All of the features released in this release require usage of the cli-redesign experiment.

New run command

This command replaces what used to be the responsibility of the default command in Terragrunt. Going forward, when users want to explicitly have Terragrunt run an OpenTofu/Terraform command on their behalf, they'll use the run command.

In a future release, this command will also gain the two following flags to replace the functionality of the run-all and graph commands:

  • --all: Replaces the run-all command.
  • --graph: Replaces the graph command.

You can learn more about the run command here

OpenTofu shortcuts

In addition to an explicit run command for running any OpenTofu/Terraform command, there have been shortcuts introduced to the Terragrunt CLI to make sure it's just as easy to run the commands you're used to, like terragrunt plan and terragrunt apply.

You can learn more about OpenTofu shortcuts here

New exec command

This command provides tooling to explicitly execute an arbitrary command using Terragrunt (even if it's not related to OpenTofu/Terraform). It users additional control over exactly what Terragrunt does when it's executing a command, and gives them additional flexibility they wouldn't have otherwise.

You can learn more about the exec command here

New info strict command

The new info strict command gives users a quick way to determine which strict controls are available in the Terragrunt CLI using the terminal.

We'll be making updates in the near future to update the UI/UX of the command, but we've released an early version for preview via the cli-redesign experiment flag.

What's Changed

  • feat: exec, run, info strict commands implementation, flags renaming. by @levkohimins in #3723
  • fix: Closing gap from CLI Redesign by @yhakbar in #3862
  • fix: Fixing slug for cli-redesign migration guide by @yhakbar in #3866

Full Changelog: v0.72.9...v0.73.0

Demonstration

demo