Qdrant-Cloud Provider
Generate Provider
The Qdrant-Cloud provider must be installed as a Local Package by following the instructions for Any Terraform Provider:
pulumi package add terraform-provider qdrant/qdrant-cloud
Overview
The Pulumi Qdrant Cloud provider is a plugin for Pulumi that allows for the full lifecycle management of Qdrant Cloud resources. Note that it’s not intended to manage the content of the database itself.
Below is a sample that creates a [vector database] cluster and a token for accessing the cluster.
The ID and version of the cluster as well the URL (endpoint of the database cluster) are displayed (as output).
The access token created is scoped for the created cluster and is displayed as well. Note that this token should be kept secret, with this token the database can be manipulated and viewed (CRUD operations).
To view the cluster itself, please visit (in a web-browser)
<cluster_url>:6333/dashboard
This will ask the token to grant you access.
The url and token can be used in client libraries as well
For more info, please visit https://qdrant.tech/
Versioning and Compatibility
Please always use the latest version of the provider.
Versions below 1.1.0
are deprecated and should not be used.
Example Usage
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: nodejs
config:
qdrant-cloud:accountId:
value: ""
qdrant-cloud:apiKey:
value: ""
qdrant-cloud:apiUrl:
value: ""
Example currently unavailable in this language
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: python
config:
qdrant-cloud:accountId:
value: ""
qdrant-cloud:apiKey:
value: ""
qdrant-cloud:apiUrl:
value: ""
Example currently unavailable in this language
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: dotnet
config:
qdrant-cloud:accountId:
value: ""
qdrant-cloud:apiKey:
value: ""
qdrant-cloud:apiUrl:
value: ""
Example currently unavailable in this language
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: go
config:
qdrant-cloud:accountId:
value: ""
qdrant-cloud:apiKey:
value: ""
qdrant-cloud:apiUrl:
value: ""
Example currently unavailable in this language
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: yaml
config:
qdrant-cloud:accountId:
value: ""
qdrant-cloud:apiKey:
value: ""
qdrant-cloud:apiUrl:
value: ""
Example currently unavailable in this language
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: java
config:
qdrant-cloud:accountId:
value: ""
qdrant-cloud:apiKey:
value: ""
qdrant-cloud:apiUrl:
value: ""
Example currently unavailable in this language
The Qdrant Cloud API Key and Account ID can also be provided using these environment variables:
QDRANT_CLOUD_API_KEY
QDRANT_CLOUD_ACCOUNT_ID
Configuration Reference
Required
apiKey
(String, Sensitive) The API Key for Qdrant Cloud API operations.accountId
(String) Default Account Identifier for the Qdrant cloudapiUrl
(String) The URL of the Qdrant Cloud API.insecure
(Boolean) Allow insecure gRPC connections. This is useful for development environments with self-signed certificates. Defaults to false.