{
  "id": "terraform/terraform-init-provider-checksum-mismatch",
  "signature": "Error: Failed to install provider: checksum mismatch",
  "signature_zh": "错误：安装提供程序失败：校验和不匹配",
  "regex": "Failed to install provider: checksum mismatch",
  "domain": "terraform",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The downloaded provider plugin's checksum does not match the one recorded in the .terraform.lock.hcl file.",
  "root_cause_type": "generic",
  "root_cause_zh": "下载的提供程序插件的校验和与 .terraform.lock.hcl 文件中记录的校验和不匹配。",
  "versions": [
    {
      "version": "Terraform v1.1+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Provider registry",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Lock file regeneration may still fail if provider version is pinned; also loses security verification.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Bypasses security; may lead to using tampered providers.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Run terraform init -upgrade to re-fetch the provider and update the lock file with new checksums",
      "success_rate": 0.9,
      "how": "Run terraform init -upgrade to re-fetch the provider and update the lock file with new checksums",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check network connectivity and proxy settings; re-run terraform init",
      "success_rate": 0.75,
      "how": "Check network connectivity and proxy settings; re-run terraform init",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "运行 terraform init -upgrade 重新获取提供程序并用新校验和更新锁定文件",
    "检查网络连接和代理设置；重新运行 terraform init"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://developer.hashicorp.com/terraform/language/files/dependency-lock#checksum-verification",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2023-02-28",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}