-
Notifications
You must be signed in to change notification settings - Fork 2
Add support for managing projects #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM in terms of implementing a project resource. I was able to test end-to-end creating a project -> api-key -> index using a terraform configuration file, along with what we tested in the bug bash.
I left some comments around terraform data sources vs. resources. We may want to look at adding the code for supporting project and projects data sources, similar to what we have already for indexes and collections. That could either be done here or in a follow up - I don't feel confident with a lot of the terraform details at this point to know whether that's a blocker for releasing or not.
Problem
This PR adds support for managing Pinecone projects through the Terraform provider. This feature enables users to create, read (describe), update, and delete projects programmatically using Terraform, including support for customer-managed encryption keys (CMEK) and custom pod limits.
Solution
Following changes were made:
Example
The provider expects two environment variables PINECONE_CLIENT_ID and PINECONE_CLIENT_SECRET for admin authentication, while project configuration is passed as resource attributes.
Type of Change
Test Plan
Describe specific steps for validating this change.