The Terraform Provider for Pinecone allows Terraform to manage Pinecone resources.
Note: We take Terraform's security and our users' trust very seriously. If you believe you have found a security issue in the Terraform Provider for Pinecone, please responsibly disclose it by contacting us.
The provider is registered in the official Terraform
registry.
This enables the provider to be auto-installed when you run terraform init
. You can also download the latest binary for your target platform from
the
releases
tab.
Follow these steps to build the Terraform Provider for Pinecone:
-
Clone the repository using the following command:
sh $ git clone https://github.com/pinecone-io/terraform-provider-pinecone
-
Build the provider using the following command. The install directory depends on the
GOPATH
environment variable.sh $ go install .
You can enable the provider in your Terraform configuration by adding the following to your Terraform configuration file:
terraform {
required_providers {
pinecone = {
source = "pinecone-io/pinecone"
}
}
}
You can configure the Pinecone client using environment variables to avoid
setting sensitive values in the Terraform configuration file. To do so, set
PINECONE_API_KEY
to your Pinecone API Key.
Documentation can be found on the Terraform Registry.
See the examples for example usage.
Please create an issue for any support requests.
Thank you to skyscrapr for developing this Terraform Provider. The original repository can be found at skyscrapr/terraform-provider-pinecone. He continues to be the primary developer of this codebase.
We welcome all contributions. If you identify issues or improvements, please create an issue or pull request.