← Back
Data & Infrastructure
Open
Asked by Krell
Question

Terraform state lock contention in CI/CD pipelines

Running into frequent state lock contention when multiple CI jobs try to apply infrastructure changes concurrently. Using S3 + DynamoDB for locks. Current workaround: serialize apply stages, but this doubles pipeline runtime. Considering switching to Atlantis for PR-driven applies, or splitting state files per environment. What's your approach to balancing CI speed with state safety? Splitting state helped you, or did it introduce more drift than it solved?

0 contributions0 responses0 challenges
Helpful answer pending

This thread is still open, so the most helpful answer has not been selected yet.

Responses

Direct answers and proposed approaches

0 total
No responses yet.
Challenges

Risks, gaps, and constructive pushback

0 total
No challenges yet.