Skip to content

v0.68.16

Compare
Choose a tag to compare
@denis256 denis256 released this 19 Nov 15:46
· 29 commits to main since this release
533bc11

Updated CLI args, config attributes and blocks

  • exclude
  • feature

New Feature: exclude configuration block

The exclude configuration block allows for dynamic exclusion of units from the run queue, similar to the now deprecated skip attribute. The exclude configuration block allows for more control over exactly how units are excluded from the run queue, and integrates very well with the feature block introduced in v0.68.9.

For more information, read the docs.

Example

# Exclude configurations allowing for dynamically determining when and how to exclude execution of nodes in the Terragrunt graph
exclude {
    if = feature.feature_name.value # Boolean expression that determines if the node should be excluded.
    actions = ["all"] # Actions to exclude when active. Other options might be ["plan", "apply", "all_except_output"], etc
    exclude_dependencies = feature.feature_name.value # Exclude dependencies of the node as well
}

Demo

tg-flags-exclude

What's Changed

  • feat: Introduced a new exclude block, enabling users to define more advanced and flexible criteria for excluding specific units, enhancing customization and control over unit selection processes.
  • fix: Fixed handling of empty feature blocks
  • fix: Fix spelling of RenderJSONithMetadata as RenderJSONWithMetadata

Related links