Interview Prep/Terraform/Partial Applies, Version Mismatches and CI Failures

An apply in CI fails with `Error: Failed to install provider ... checksum list has no SHA-256 hash` or registry `429 Too Many Requests` when 50 jobs start together.

AdvancedTroubleshootingPartial Applies, Version Mismatches and CI Failures
Answer

Likely causes → Many runners downloading the same providers simultaneously from the public registry/releases endpoint, hitting rate limits or partial downloads.

Diagnose → Failures correlate with burst start times; the same jobs pass on retry.

Fix → Retry with backoff; pre-bake providers into the runner image or use a network/filesystem mirror and CI cache keyed on the lock file.

Prevent → Internal provider mirror (Artifactory/Nexus or terraform providers mirror to S3) for all CI runners.

All Terraform questions

More on Partial Applies, Version Mismatches and CI Failures