Skip to content

Releases: gruntwork-io/terragrunt

v0.68.13

13 Nov 17:41
580998c
Compare
Choose a tag to compare

Updated CLI args, config attributes and blocks

  • terragrunt-queue-include-units-reading
  • mark_as_read

terragrunt-queue-include-units-reading Feature Description

Drive inclusion into the Terragrunt run queue using the name of a file read via an HCL function. This can used to do things like drive inclusion into the run queue when one terragrunt.hcl file reads another via functions like read_terragrunt_config.

⚠️ Limitation in new flag

As described at the bottom of terragrunt-queue-include-units-reading docs, due to the order in which HCL configurations are parsed in Terragrunt, functions reading files within HCL must do so within the locals block to result in changes to inclusion into the run queue.

This is a limitation that the maintainers will actively look to address, but will require substantial rework in HCL parsing to remove correctly.

Supported HCL Functions

  • read_terragrunt_config
  • sops_decrypt_file
  • read_tfvars_file
  • mark_as_read [new]

Relevant RFC

#3418

What's Changed

Full Changelog: v0.68.12...v0.68.13

v0.68.13-beta2024111301

13 Nov 15:09
6839411
Compare
Choose a tag to compare
Pre-release

⚠️ Beta Warning

Note that this release is not fully tested and not ready for general usage.

Updated CLI args, config attributes and blocks

  • --terragrunt-log-format [bare | pretty | json | key-value]
  • --terragrunt-log-custom-format "%time %level %prefix %msg"

WIP PR

#3537

Feature Description

Using the --terragrunt-log-custom-format <format> flag you can customize the way Terragrunt logs with total control over the logging format. Make sure to read Custom Log Format for syntax details.

v0.68.12

12 Nov 14:53
748f855
Compare
Choose a tag to compare

What's Changed

  • feat: Allow hcl format from stdin by @alikhil in #3288
  • build(deps): bump ruby/setup-ruby from 1.199.0 to 1.202.0 by @dependabot in #3549
  • build(deps): bump github.com/hashicorp/go-getter/v2 from 2.2.1 to 2.2.3 by @dependabot in #3545
  • build(deps): bump golang.org/x/term from 0.25.0 to 0.26.0 by @dependabot in #3547
  • build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdoutmetric from 1.23.1 to 1.32.0 by @dependabot in #3548
  • build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace from 1.22.0 to 1.32.0 by @dependabot in #3546

Full Changelog: v0.68.10...v0.68.12

v0.68.11-alpha2024111101

11 Nov 20:42
b5ed207
Compare
Choose a tag to compare
Pre-release

⚠️ Alpha Warning

Note that this release is not fully tested and not ready for general usage.

Updated CLI args, config attributes and blocks

  • terragrunt-queue-include-units-reading

Relevant RFC

#3418

WIP PR

#3550

Feature Description

Drive inclusion into the Terragrunt run queue using the name of a file read via an HCL function. This can used to do things like drive inclusion into the run queue when one terragrunt.hcl file reads another via functions like read_terragrunt_config.

Supported HCL Functions

  • read_terragrunt_config
  • sops_decrypt_file
  • read_tfvars_file
  • mark_as_read [new]

v0.68.10

11 Nov 16:58
a4e26e2
Compare
Choose a tag to compare

Updated CLI args, config attributes and blocks

  • sops_decrypt_file

What's Changed

  • Enhanced error reporting to provide more detailed information on the root cause of HCL parsing issues.

Related links

v0.68.10-alpha202411110

11 Nov 14:09
d6544ea
Compare
Choose a tag to compare
Pre-release

⚠️ Alpha Warning

Note that this release is not fully tested and not ready for general usage.

Updated CLI args, config attributes and blocks

  • terragrunt-queue-include-units-reading

Relevant RFC

#3418

WIP PR

#3550

Feature Description

Drive inclusion into the Terragrunt run queue using the name of a file read via an HCL function. This can used to do things like drive inclusion into the run queue when one terragrunt.hcl file reads another via read_terragrunt_config.

Supported HCL Functions

  • read_terragrunt_config
  • sops_decrypt_file
  • read_tfvars_file
  • mark_as_read [new]

v0.68.9

08 Nov 14:53
6414d5a
Compare
Choose a tag to compare

Updated CLI args, config attributes and blocks

  • --feature
  • feature
  • TERRAGRUNT_FEATURE

New Feature: feature configuration block

The feature configuration block allows for dynamic control over Terragrunt execution in a manner more convenient than was previously possible. It allows for feature flags to be used to adjust default behavior of Terragrunt units at runtime using either the --feature CLI flag or the TERRAGRUNT_FEATURE environment variable.

For more information, read the docs.

What's Changed

  • feat: Introduced a new HCL block and additional CLI options to enable feature flag management
  • chore: Updated otlptracegrpc dependency from 1.23.0 to 1.31.0

Related links

v0.68.8

07 Nov 17:18
a61a3d8
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump ruby/setup-ruby from 1.196.0 to 1.199.0 by @dependabot in #3531
  • build(deps): bump cloud.google.com/go/storage from 1.44.0 to 1.46.0 by @dependabot in #3530
  • feat: Implement terragrunt-dont-check-dependent-modules flag by @kbcz1989 in #3534

New Contributors

Full Changelog: v0.68.7...v0.68.8

v0.68.8-beta2024110601

06 Nov 17:38
fe4c16a
Compare
Choose a tag to compare
Pre-release

Updated CLI args, config attributes and blocks

  • --feature
  • feature

What's Changed

  • Added new HCL block and CLI options for feature flags to modify Terragrunt code evaluation

Related links

Example flags usage:

# terragrunt.hcl

feature "run_hook" {
  default = false
}

terraform {
  before_hook "feature_flag" {
    commands = ["apply", "plan", "destroy"]
    execute  = feature.run_hook.value ? ["sh", "-c", "feature_flag_script.sh"] : [ "sh", "-c", "exit", "0" ]
  }
}

Passing feature flags:

terragrunt --feature run_hook=true apply
terragrunt --feature run_hook=true --feature string_flag=dev apply

Full Changelog: v0.68.7...v0.68.8-beta2024110601

v0.68.7

01 Nov 15:30
326c325
Compare
Choose a tag to compare

Updated CLI args, config attributes and blocks

  • --terragrunt-provider-cache

What's Changed

  • Improved offline error detection in the provider cache to handle air-gapped environments.

Related links