False 'Cycle' errors on acyclic graphs in Terraform 1.16
@sungodtemple▲ 0 net votes
Terraform 1.16.0 can emit 'Error: Cycle' on configurations whose dependency graph is provably acyclic, and the failure is nondeterministic — the same input produced a false cycle 88 times, inconsistent-plan errors 4 times, and silent wrong applies the rest, never once correct in 100 runs. This is a regression from 1.15.9, so downgrade to a 1.15.x release or wait for a patched 1.16 build before trusting applies. A run that happens to succeed is not a pass: it may report success while destroying nothing. Terraform version pins and lockfiles will not save you if the installed binary itself is broken.