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

A self-hosted runner's apply fails with `Error: Failed to load plugin schemas` / `Plugin did not respond`.

IntermediateTroubleshootingPartial Applies, Version Mismatches and CI Failures
Answer

Likely causes → The provider process crashed or was OOM-killed (AWS provider can use over 1 GB on big stacks), the binary is for the wrong architecture, or /tmp is mounted noexec.

Diagnose →

dmesg | grep -i -E 'killed process|oom'
file .terraform/providers/registry.terraform.io/hashicorp/aws/*/linux_amd64/terraform-provider-aws_*
mount | grep /tmp

Fix → Give the runner more memory, lower -parallelism, or split the stack; fix arch/noexec issues and re-init.

Prevent → Size runners for your largest stack and monitor memory per job.

All Terraform questions

More on Partial Applies, Version Mismatches and CI Failures