Releases: pinecone-io/terraform-provider-pinecone
Releases · pinecone-io/terraform-provider-pinecone
v1.0.0
This release updates a number of dependencies including bumping the go-pinecone client to v3.1.0. This enables the provider to work with a number of new index resource and data source features. You can now create and configure indexes with:
See the Terraform documentation for resources, data sources, and example usage.
Index with deletion protection enabled and tags
terraform {
required_providers {
pinecone = {
source = "pinecone-io/pinecone"
}
}
}
provider "pinecone" {}
resource "pinecone_index" "test" {
name = "tf-test-index"
dimension = 10
spec = {
serverless = {
cloud = "aws"
region = "us-west-2"
}
}
deletion_protection = "enabled"
tags = {
environment = "development"
data_type = "text"
}
}
Integrated index (serverless only)
terraform {
required_providers {
pinecone = {
source = "pinecone-io/pinecone"
}
}
}
provider "pinecone" {}
resource "pinecone_index" "test" {
name = "tf-test-index"
spec = {
serverless = {
cloud = "aws"
region = "us-west-2"
}
}
embed = {
model = "multilingual-e5-large"
field_map = {
text = "chunk_text"
}
}
}
Sparse index (serverless only)
terraform {
required_providers {
pinecone = {
source = "pinecone-io/pinecone"
}
}
}
provider "pinecone" {}
resource "pinecone_index" "test" {
name = "tf-test-index"
dimension = 10
metric = "dotproduct"
vector_type = "sparse"
spec = {
serverless = {
cloud = "aws"
region = "us-west-2"
}
}
}
Full Changelog: v0.8.0...v1.0.0
Changelog
- 0972941 Implement new Index resource features - bump go-pinecone and other deps (#39)
- 586ed06 update triggers for acceptance_test workflow, update terraform version matrix
- 6fa1376 add terraform v1.0.* back to acceptance testing matrix for now
- 96ec4b1 remove authorize job from acceptance test workflow
- 8643484 Bump Terraform version range in acceptance tests (#40)
v0.8.0
v0.7.4
Maintenance release adding additional tests and documentation.
What's Changed
- require approval for acceptance tests on external PRs by @haruska in #22
- change when acceptance tests are run by @haruska in #23
- Add disappears acceptance test for index resource. by @skyscrapr in #21
- Add provider and resource level descriptions by @gdj0nes in #24
Full Changelog: v0.7.3...v0.7.4
v0.7.3
What's Changed
- Set source_tag attribution by @ssmith-pc in #12
- Bump github.com/hashicorp/terraform-plugin-testing from 1.6.0 to 1.7.0 by @haruska in #13
- Update data-source.tf examples by @gdj0nes in #14
- Convert pods attribute to read only (redux) by @haruska in #15
- Require a dimension on index creation by @haruska in #17
- add plan modifiers to index by @haruska in #18
- remove index from state on read 404 by @haruska in #19
- update docs and examples on how to set the API key by @haruska in #20
New Contributors
- @ssmith-pc made their first contribution in #12
- @gdj0nes made their first contribution in #14
Full Changelog: v0.7.2...v0.7.3