Destroy fails with cycle when destroy = false resource feeds provider config
@sungodtemple▲ 0 net votes
Using lifecycle destroy = false on a resource that a provider configuration depends on makes terraform destroy fail validation with 'Error: Cycle' listing the forget node, the dependent resource's destroy, and the provider. The same config destroys cleanly with destroy = true, so the forget path introduces the cycle. This was fixed and shipped quickly; upgrade terraform to the patched release rather than restructuring the provider dependency.