Skip to content

Commit

Permalink
update references from original skyscrapr repo with pinecone-io (#1)
Browse files Browse the repository at this point in the history
* replace skyscrapr references with pinecone-io

* remove unused changelog
  • Loading branch information
haruska authored Apr 2, 2024
1 parent 84a6b33 commit c358ac5
Show file tree
Hide file tree
Showing 25 changed files with 43 additions and 45 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,3 @@ jobs:
TF_ACC: "1"
run: go test -race -covermode=atomic -coverprofile=coverage.out -v ./pinecone/provider/
timeout-minutes: 10
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

33 changes: 20 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Terraform Pinecone Provider

[![Go Reference](https://pkg.go.dev/badge/github.com/skyscrapr/terraform-provider-pinecone.svg)](https://pkg.go.dev/github.com/skyscrapr/terraform-provider-pinecone)
[![Go Report Card](https://goreportcard.com/badge/github.com/skyscrapr/terraform-provider-pinecone)](https://goreportcard.com/report/github.com/skyscrapr/terraform-provider-pinecone)
[![codecov](https://codecov.io/gh/skyscrapr/terraform-provider-pinecone/graph/badge.svg?token=qobuIzQPuM)](https://codecov.io/gh/skyscrapr/terraform-provider-pinecone)
![Github Actions Workflow](https://github.com/skyscrapr/terraform-provider-pinecone/actions/workflows/test.yml/badge.svg)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/skyscrapr/terraform-provider-pinecone)
![License](https://img.shields.io/dub/l/vibe-d.svg)
[![Go Reference](https://pkg.go.dev/badge/github.com/pinecone-io/terraform-provider-pinecone.svg)](https://pkg.go.dev/github.com/pinecone-io/terraform-provider-pinecone)
[![Go Report Card](https://goreportcard.com/badge/github.com/pinecone-io/terraform-provider-pinecone)](https://goreportcard.com/report/github.com/pinecone-io/terraform-provider-pinecone)
![Github Actions Workflow](https://github.com/pinecone-io/terraform-provider-pinecone/actions/workflows/test.yml/badge.svg)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/pinecone-io/terraform-provider-pinecone)

The Terraform Pinecone Provider allows Terraform to manage Pinecone resources.

Please note: We take Terraform's security and our users' trust very seriously. If you believe you have found a security issue in the Terraform Pinecone Provider, please responsibly disclose it by contacting us.
Please note: We take Terraform's security and our users' trust very seriously. If you believe you have found a security
issue in the Terraform Pinecone Provider, please responsibly disclose it by contacting us.

## Requirements

Expand All @@ -18,17 +17,17 @@ Please note: We take Terraform's security and our users' trust very seriously. I

## Installing the Provider

The provider is registered in the official [terraform registry](https://registry.terraform.io/providers/skyscrapr/pinecone/latest)
The provider is registered in the official [terraform registry](https://registry.terraform.io/providers/pinecone-io/pinecone/latest)

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](https://github.com/skyscrapr/terraform-provider-pinecone/releases) tab.
You can also download the latest binary for your target platform from the [releases](https://github.com/pinecone-io/terraform-provider-pinecone/releases) tab.

## Building the Provider

- Clone the repo:
```sh
$ git clone https://github.com/skyscrapr/terraform-provider-pinecone
$ git clone https://github.com/pinecone-io/terraform-provider-pinecone
```

- Build the provider: (NOTE: the install directory will be set accoring to GOPATH environment variable)
Expand All @@ -43,7 +42,7 @@ You can enable the provider in your terraform configurtion by add the folowing:
terraform {
required_providers {
openai = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand All @@ -55,12 +54,20 @@ You can configure the Pinecone client using environment variables to avoid setti

## Documentation

Documentation can be found on the [Terraform Registry](https://registry.terraform.io/providers/skyscrapr/pinecone/latest).
Documentation can be found on the [Terraform Registry](https://registry.terraform.io/providers/pinecone-io/pinecone/latest).

## Examples

Please see the [examples](https://github.com/skyscrapr/terraform-provider-pinecone/examples) for example usage.
Please see the [examples](https://github.com/pinecone-io/terraform-provider-pinecone/examples) for example usage.

## Support

Please raise an issue for any support related requirements.

## Contributing

Thank you to [skyscrapr](https://github.com/skyscrapr/) for developing this Terraform Provider. The original repo can be
found at [skyscrapr/terraform-provider-pinecone](https://github.com/skyscrapr/terraform-provider-pinecone). He continues
to be the primary developer of this codebase.

We welcome all contributions. Please do not hesitate on filing an issue or contributing a PR for improvements.
2 changes: 1 addition & 1 deletion docs/data-sources/collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Collection data source
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Collections data source
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Index data source
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Indexes data source
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |-
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Collection resource
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Index resource
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/pinecone_collection/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/pinecone_collections/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/pinecone_index/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/pinecone_indexes/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/pinecone_collection/resource.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/pinecone_index/resource.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
pinecone = {
source = "skyscrapr/pinecone"
source = "pinecone-io/pinecone"
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/skyscrapr/terraform-provider-pinecone
module github.com/pinecone-io/terraform-provider-pinecone

go 1.21.1

Expand Down Expand Up @@ -85,5 +85,3 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
)

// Use below for local development
// replace github.com/skyscrapr/pinecone-sdk-go => ../pinecone-sdk-go
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"log"

"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/provider"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/provider"
)

// Run "go generate" to format example terraform files and generate the docs for the registry/website
Expand Down Expand Up @@ -38,7 +38,7 @@ func main() {
flag.Parse()

opts := providerserver.ServeOpts{
Address: "registry.terraform.io/skyscrapr/pinecone",
Address: "registry.terraform.io/pinecone/pinecone",
Debug: debug,
}

Expand Down
2 changes: 1 addition & 1 deletion pinecone/provider/collection_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/models"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/models"
)

// Ensure provider defined types fully satisfy framework interfaces.
Expand Down
2 changes: 1 addition & 1 deletion pinecone/provider/collection_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"
"github.com/pinecone-io/go-pinecone/pinecone"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/models"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/models"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pinecone/provider/collections_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/models"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/models"
)

// Ensure provider defined types fully satisfy framework interfaces.
Expand Down
2 changes: 1 addition & 1 deletion pinecone/provider/index_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/models"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/models"
)

// Ensure provider defined types fully satisfy framework interfaces.
Expand Down
2 changes: 1 addition & 1 deletion pinecone/provider/index_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"
"github.com/pinecone-io/go-pinecone/pinecone"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/models"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/models"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pinecone/provider/indexes_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/skyscrapr/terraform-provider-pinecone/pinecone/models"
"github.com/pinecone-io/terraform-provider-pinecone/pinecone/models"
)

// Ensure provider defined types fully satisfy framework interfaces.
Expand Down

0 comments on commit c358ac5

Please sign in to comment.