Releases: gruntwork-io/terragrunt
v0.68.13
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
What's Changed
- feat: Adding
--terragrunt-queue-include-units-reading
by @yhakbar in #3550 - fix: Re-introducing
--terragrunt-hclfmt-file
docs by @yhakbar in #3552 - docs: Adding documentation for release process by @yhakbar in #3487
- docs: Adding Discord Markdown badge by @yhakbar in #3539
- chore: Refactoring out helpers by @yhakbar in #3465
Full Changelog: v0.68.12...v0.68.13
v0.68.13-beta2024111301
⚠️ 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
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
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
⚠️ 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
WIP PR
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
v0.68.10-alpha202411110
⚠️ 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
WIP PR
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
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
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
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