-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for 'Engine' and 'Data Store' resources from the Vertex AI Search and Conversation service #9774
Conversation
Hello! I am a robot. It looks like you are a: @SarahFrench, 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. Terraform GA: Diff ( 14 files changed, 1585 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_search_and_conversation_app" "primary" {
collection_id = # value needed
common_config {
company_name = # value needed
}
data_store_ids = # value needed
display_name = # value needed
engine_id = # value needed
industry_vertical = # value needed
location = # value needed
search_engine_config {
search_add_ons = # value needed
search_tier = # value needed
}
solution_type = # value needed
}
Resource: resource "google_search_and_conversation_data_store" "primary" {
collection_id = # value needed
create_advanced_site_search = # value needed
data_store_id = # value needed
display_name = # value needed
industry_vertical = # value needed
location = # value needed
solution_types = # value needed
}
|
Tests analyticsTotal tests: Click here to see the affected service packagesall service packages are affected
|
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.
Hi @Pratster95! Thanks for your PR - could you please follow the guidance in messages like this one about test coverage of the new resources and their fields? This page in our contribution guide should help with first steps: https://googlecloudplatform.github.io/magic-modules/develop/test/ . With tests present in the PR we'll be able to identify any changes needed in the YAML definition of the resources. Thanks!
Edit: also take a look at this check that's linting the YAML files: https://github.com/GoogleCloudPlatform/magic-modules/actions/runs/7454046384/job/20280611905?pr=9774
# limitations under the License. | ||
|
||
--- !ruby/object:Api::Resource | ||
name: 'App' |
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.
Should this resource be called 'Engine'? I'm confused at the discrepancy between information in this file and the API's docs
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.
@SarahFrench Thanks for this comment. I will update the resource name in my next PR.
Is this the same Data Store resource as was just added in #9682? |
Yes it is the same. I will pull the latest merged changes for Datastore and create another PR along with the latest changes and acceptance test for Search Engine. |
This is a PR for Search App TF Provider (DiscoveryEngine)
Closes hashicorp/terraform-provider-google#16787
Adds resource coverage for:
Release Note Template for Downstream PRs (will be copied)