{
  "id": "terraform/invalid-import-id-format",
  "signature": "Error: Invalid import ID format: expected <resource_type>.<name> <id>",
  "signature_zh": "错误：导入 ID 格式无效：应为 <资源类型>.<名称> <ID>",
  "regex": "Error: Invalid import ID format: expected <resource_type>\\.<name> <id>",
  "domain": "terraform",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The import command requires a specific two-part argument format (resource address and ID), but the user provided a single string or malformed input.",
  "root_cause_type": "generic",
  "root_cause_zh": "导入命令需要特定的两部分参数格式（资源地址和 ID），但用户提供了单个字符串或格式错误的输入。",
  "versions": [
    {
      "version": "Terraform v1.8.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Terraform v1.9.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Terraform v1.10.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Terraform expects a space separator between the resource address and the ID, not a colon or other delimiter.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The import command treats the quoted string as a single argument, so it doesn't parse the resource address and ID separately.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use the correct two-argument format with a space: `terraform import aws_instance.my_instance i-12345`",
      "success_rate": 0.95,
      "how": "Use the correct two-argument format with a space: `terraform import aws_instance.my_instance i-12345`",
      "condition": "",
      "sources": []
    },
    {
      "action": "If using shell variables, ensure they expand to separate arguments: `terraform import aws_instance.my_instance \"$INSTANCE_ID\"`",
      "success_rate": 0.9,
      "how": "If using shell variables, ensure they expand to separate arguments: `terraform import aws_instance.my_instance \"$INSTANCE_ID\"`",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Use the correct two-argument format with a space: `terraform import aws_instance.my_instance i-12345`",
    "If using shell variables, ensure they expand to separate arguments: `terraform import aws_instance.my_instance \"$INSTANCE_ID\"`"
  ],
  "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.85,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2024-01-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}