Skip to content

can't setup qdrant destination #197

@turulix

Description

@turulix

I'm having troubble getting terraform to add a qdrant destination to airbyte. I'm also using terraform for a postgres source which works just fine.

Terraform Error:

│   with module.services[0].airbyte_destination_qdrant.airbyte_destination_qdrant,
│   on services\airbye.tf line 22, in resource "airbyte_destination_qdrant" "airbyte_destination_qdrant":
│   22: resource "airbyte_destination_qdrant" "airbyte_destination_qdrant" {
│ 
│ **Request**:
│ POST /api/public/v1/destinations HTTP/1.1
│ Host: localhost:8000
│ Accept: application/json
│ Authorization: (sensitive)
│ Content-Type: application/json
│ User-Agent: speakeasy-sdk/go 0.0.1 2.372.3 1.0.0
│ github.com/airbytehq/terraform-provider-airbyte/internal/sdk
│ 
│ 
│ **Response**:
│ HTTP/1.1 400 Bad Request
│ Content-Length: 197
│ Connection: keep-alive
│ Content-Type: application/json
│ Date: Fri, 16 May 2025 17:54:09 GMT
│ 
│ {"status":400,"type":"https://reference.airbyte.com/reference/errors","title":"value-not-found","detail":"The
│ submitted value could not be
│ found.","documentationUrl":null,"data":{"value":"qdrant"}}
terraform {
    airbyte = {
      source  = "airbytehq/airbyte"
      version = "0.12.0"
    }
  }
}

provider "airbyte" {
  client_id     = var.airbyte_client_id
  client_secret = var.airbyte_secret

  server_url = "http://localhost:8000/api/public/v1/"
}

resource "airbyte_destination_qdrant" "airbyte_destination_qdrant" {
  depends_on = [
    docker_container.qdrant
  ]
  configuration = {
    embedding = {
      open_ai_compatible = {
        base_url   = "http://192.168.179.23:4000/search",
        dimensions = 384
      }
    }
    processing = {
      chunk_size = 512
    }
    indexing = {
      url        = "192.168.179.23"
      collection = "xyz"
      auth_method = {
        no_auth = {
          mode = "no_auth"
        }
      }
    }
  }
  name         = "Qdrant Destination"
  workspace_id = var.airbyte_workspace_id
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions