Skip to content

Releases: pinecone-io/terraform-provider-pinecone

v1.0.0

19 Apr 03:36
0972941
Compare
Choose a tag to compare

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

06 Sep 23:29
404ba1b
Compare
Choose a tag to compare

Changelog

  • 404ba1b update goreleaser.yml to version: 2 and remove invalid changelog option (#28)
  • 1083148 Bump pinecone-io/go-pinecone to v1.1.0 (#27)

v0.7.4

18 Apr 15:44
1f8a233
Compare
Choose a tag to compare

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

10 Apr 23:02
8c7eedc
Compare
Choose a tag to compare

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

Full Changelog: v0.7.2...v0.7.3

v0.7.2

03 Apr 21:00
4387937
Compare
Choose a tag to compare
update docs to not require environment for provider init (#3)

v0.7.1

03 Apr 14:53
c358ac5
Compare
Choose a tag to compare
update references from original skyscrapr repo with pinecone-io (#1)

* replace skyscrapr references with pinecone-io

* remove unused changelog

v0.7.0

02 Apr 20:39
c358ac5
Compare
Choose a tag to compare
update references from original skyscrapr repo with pinecone-io (#1)

* replace skyscrapr references with pinecone-io

* remove unused changelog