v0.68.16
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
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
asRenderJSONWithMetadata