github gruntwork-io/terragrunt v0.68.15-beta2024111501

pre-release5 hours ago

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

Don't miss a new terragrunt release

NewReleases is sending notifications on new releases.