Skip to content

🧨 New Failure Added v0.2.0 - State Lock Conflict

Latest

Choose a tag to compare

@dvig14 dvig14 released this 04 Aug 12:30
· 35 commits to master since this release

βœ… What's Included

  • Scenario 3: state-lock-conflict
  • Simulates:
    • Parallel terraform apply (2 terminals)
    • Locking disabled β†’ infra corruption risk
    • Locking enabled via Consul
  • Deep dive into:
    • TF_LOCK_METADATA (lock ownership)
    • -lock-timeout (wait/retry)
    • force-unlock for stale locks
    • TTL-based lock expiry

πŸ“Έ Highlights

  • Real-world scenario of orphaned resources
  • Two-user simulation: User A vs User B
  • Includes prevention & fix guide