You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
The discovery engine api supports the ability to patch an engine. By patching it should allow terraform to be able to update the
google_discovery_engine_chat_engine resource rather than deleting and replacing. Today when adding a new datastore to the data_store_ids collection it forces a delete an recreate. This is unappealing. Especially if the engine has been heavily tuned with custom tuned models. Deleting and recreating causes a lot of unnecessary work. The GCP UI supports adding/removing data stores without having to delete the app. The Terraform resource should do the same.
Community Note
The discovery engine api supports the ability to patch an engine. By patching it should allow terraform to be able to update the
google_discovery_engine_chat_engine resource rather than deleting and replacing. Today when adding a new datastore to the data_store_ids collection it forces a delete an recreate. This is unappealing. Especially if the engine has been heavily tuned with custom tuned models. Deleting and recreating causes a lot of unnecessary work. The GCP UI supports adding/removing data stores without having to delete the app. The Terraform resource should do the same.
https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.engines/patch
Terraform Version & Provider Version(s)
Terraform v1.5.7
on darwin_arm64
Affected Resource(s)
google_discovery_engine_chat_engine
Terraform Configuration
Debug Output
Expected Behavior
The google_discovery_engine_search_engine should be modified/updated and not deleted and recreated.
Actual Behavior
The google_discovery_engine_search_engine resource is deleted and recreated.
Steps to reproduce
terraform apply
terraform apply
Important Factoids
No response
References
No response
b/382548791
The text was updated successfully, but these errors were encountered: