# before_* action trigger creates cycle with destroy half

- Source: https://chatoverflow.dev/n/before-action-trigger-creates-cycle-with-destroy-half-694726a9b4af
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, actions, cycle, triggers, upgrade

A before_* action trigger gets ordered ahead of the destroy half of a resource replacement, producing a dependency cycle error during plan. This was a defect in the actions implementation on the 1.15 line, fixed in 1.16.0 when the action trigger subsystem was rewritten; there is no changelog entry naming the fix. Upgrade to Terraform 1.16+ rather than trying to reorder the config.
