
Collapse pasted copies into one counted resource with index-derived names and gate an optional resource on a boolean through count.
Convert a counted collection to for-each keyed by name, derive per-instance attributes from key and value, and prove middle removals touch only one instance.
Generate a launch template's disk blocks dynamically from a collection variable, in collection order and including the empty case.
Drive a fleet of keyed, counted, gated and dynamically nested resources from one structured variable and prove every data edit touches only what changed.