This Terraform Provider is currently in Closed Beta. To learn more please Contact Us.
This is a Terraform provider for Qdrant Cloud, which is the DBaaS solution for Qdrant database, which is a vector similarity search engine with extended functionality. The provider allows you to manage your Qdrant Cloud resources using Terraform.
- Terraform 1.7.x+
- Go 1.21+ (to build the provider plugin)
swagger-codegen
brew install swagger-codegen
Clone the repository:
git clone [email protected]:<your_org>/terraform-provider-qdrant-cloud.git
Enter the provider directory and build the provider:
cd terraform-provider-qdrant-cloud
go build
If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init
to initialize the provider.
Here is an example of how to use this provider:
provider "qdrant" {
alias = "qdrant_cloud"
api_key = "<your_api_key>"
}
Replace <your_api_key>
with your actual API key and URL.
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.21+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin
to your $PATH
.
To compile the provider, run make build
. This will build the provider and put the provider binary in the $GOPATH/bin
directory.
$ make build
...
$ $GOPATH/bin/terraform-provider-qdrant-cloud
...
This assumes that you cloned the qdrant-cloud-cluster-api to the same base-path as this repo (terraform-provider-qdrant-cloud)
make update-go-client
In order to test the provider, you can run make test
.
$ make test
This will run the unit tests in the provider.
If you find any issues or would like to contribute, feel free to create an issue or a pull request.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.