We run Terraform from two separate pipelines that share the same a Consul backend state for prod. Since this week, one of them randomly fails with:
retrying usually works. is this just a race, and how do people normally avoid it?
our setup grew organically, and nobody planned for two pipelines touching the same state, its annoying, but at least nothing broke yet.. 🙏 id like to fix the process properly before it eventually does cause real damage.