google_discovery_engine_data_store

Data store is a collection of websites and documents used to find answers for end-user's questions in Discovery Engine (a.k.a. Vertex AI Search and Conversation).

To get more information about DataStore, see:

Open in Cloud Shell

Example Usage - Discoveryengine Datastore Basic

resource "google_discovery_engine_data_store" "basic" {
  location                    = "global"
  data_store_id               = "data-store-id"
  display_name                = "tf-test-structured-datastore"
  industry_vertical           = "GENERIC"
  content_config              = "NO_CONTENT"
  solution_types              = ["SOLUTION_TYPE_SEARCH"]
  create_advanced_site_search = false
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

DataStore can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import DataStore using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}"
  to = google_discovery_engine_data_store.default
}

When using the terraform import command, DataStore can be imported using one of the formats above. For example:

$ terraform import google_discovery_engine_data_store.default projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}
$ terraform import google_discovery_engine_data_store.default {{project}}/{{location}}/{{data_store_id}}
$ terraform import google_discovery_engine_data_store.default {{location}}/{{data_store_id}}

User Project Overrides

This resource supports User Project Overrides.