Skip to content

v0.68.15-beta2024111501

Pre-release
Pre-release
Compare
Choose a tag to compare
@denis256 denis256 released this 15 Nov 20:27
806a153

Updated CLI args, config attributes and blocks

  • exclude

What's Changed

  • 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.

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
}

Relevant RFC

#3134