-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Make metadata required in Vertex AI Index resource #14382
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
base: main
Are you sure you want to change the base?
Make metadata required in Vertex AI Index resource #14382
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @trodge, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. |
Thanks for the contribution. Do we know that the API will never accept an empty value for this field? Also, please replace
with
in the description |
Tests analyticsTotal tests: 67 Click here to see the affected service packages
View the build log |
Hi @trodge yes, the API returns a 400 response from the API, stating metadata is missing. When it is omitted, or empty! |
@trodge This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team @trodge This PR has been waiting for review for 1 week. Please take a look! Use the label |
Hi @trodge, just checking in — is there anything else you'd like me to address in this PR before it can be approved? Let me know if any further changes are needed! |
@GoogleCloudPlatform/terraform-team @trodge This PR has been waiting for review for 2 weeks. Please take a look! Use the label |
Sorry for the delay, I asked the API team internally about this issue and they indicated that they would prefer to keep the terraform field aligned with the API field in not being required in the specification, even though there is currently no way to create the resource without it. I suggested making a description change in the API spec to indicate that the field is currently required, and we could safely do that here in the mean time. |
@GoogleCloudPlatform/terraform-team @trodge This PR has been waiting for review for 3 weeks. Please take a look! Use the label |
@trodge any latest update on this to share? This is a HashiCorp support team reported issue. Please advise on best next steps to get this resolved. Thanks! |
At this point, I think the next step is to note the issue in the field's description without making it required, which would be a breaking change. |
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.
Let's instead update the description and leave the field optional.
This PR updates the Vertex AI Index resource schema to make the metadata field required. This aligns with the expectations of the Vertex AI API
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.