{
  "id": "terraform/import-id-format-mismatch",
  "signature": "Error: Cannot import non-existent remote object: the import ID format is invalid or the object does not exist",
  "signature_zh": "错误：无法导入不存在的远程对象：导入 ID 格式无效或对象不存在",
  "regex": "Error: Cannot import non-existent remote object: the import ID format is invalid",
  "domain": "terraform",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The import ID provided to `terraform import` does not match the expected format for the resource type, or the referenced cloud resource does not exist.",
  "root_cause_type": "generic",
  "root_cause_zh": "提供给 `terraform import` 的导入 ID 与资源类型的预期格式不匹配，或引用的云资源不存在。",
  "versions": [
    {
      "version": "Terraform >=1.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "AWS Provider 5.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "AzureRM Provider 3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Each resource type has a specific import ID syntax; guessing often results in invalid format.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Some resources require the resource ID (e.g., `i-abc123`) not the ARN; using ARN causes a mismatch.",
      "fail_rate": 0.65,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check the provider documentation for the correct import ID format. For example, `terraform import aws_instance.my_instance i-1234567890abcdef0`.",
      "success_rate": 0.95,
      "how": "Check the provider documentation for the correct import ID format. For example, `terraform import aws_instance.my_instance i-1234567890abcdef0`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use `terraform plan -generate-config-out=generated.tf` to auto-generate configuration from an existing resource, avoiding manual import.",
      "success_rate": 0.8,
      "how": "Use `terraform plan -generate-config-out=generated.tf` to auto-generate configuration from an existing resource, avoiding manual import.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "查阅提供程序文档以获取正确的导入 ID 格式。例如，`terraform import aws_instance.my_instance i-1234567890abcdef0`。",
    "使用 `terraform plan -generate-config-out=generated.tf` 从现有资源自动生成配置，避免手动导入。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://developer.hashicorp.com/terraform/cli/commands/import",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2023-11-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}