Skip to content

Instantly share code, notes, and snippets.

@aytang-telus
Last active September 27, 2024 18:21
Show Gist options
  • Save aytang-telus/d4bdf94517bb5cdc961a887fafd4c19f to your computer and use it in GitHub Desktop.
Save aytang-telus/d4bdf94517bb5cdc961a887fafd4c19f to your computer and use it in GitHub Desktop.
Datastores
resource "google_discovery_engine_data_store" "gen_dfcx_ent_tcom" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_dfcx_ent_tcom"
display_name = "gen_dfcx_ent_tcom"
industry_vertical = "GENERIC"
content_config = "PUBLIC_WEBSITE"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_mob_deviceinfo" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_mob_deviceinfo"
display_name = "gen_mob_deviceinfo"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_mob_troubleshoot" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_mob_troubleshoot"
display_name = "gen_mob_troubleshoot"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_ffh_troubleshoot" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_ffh_troubleshoot"
display_name = "gen_ffh_troubleshoot"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_mob_equipmentinfo" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_mob_equipmentinfo"
display_name = "gen_mob_equipmentinfo"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_one_source" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_one_source"
display_name = "gen_one_source"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_ds_web_en_mob" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_ds_web_en_mob"
display_name = "gen_ds_web_en_mob"
industry_vertical = "GENERIC"
content_config = "PUBLIC_WEBSITE"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_ds_sub_on_demand" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_ds_sub_on_demand"
display_name = "gen_ds_sub_on_demand"
industry_vertical = "GENERIC"
content_config = "PUBLIC_WEBSITE"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_ds_ffh_bc_troubleshoot" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_ds_ffh_bc_troubleshoot"
display_name = "gen_ds_ffh_bc_troubleshoot"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_ds_ffh_ab_troubleshoot" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_ds_ffh_ab_troubleshoot"
display_name = "gen_ds_ffh_ab_troubleshoot"
industry_vertical = "GENERIC"
content_config = "CONTENT_REQUIRED"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "gen_ds_ffh_equipment_return" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "gen_ds_ffh_equipment_return"
display_name = "gen_ds_ffh_equipment_return"
industry_vertical = "GENERIC"
content_config = "PUBLIC_WEBSITE"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "ds_ffh_equipment_return" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "ds_ffh_equipment_return"
display_name = "ds_ffh_equipment_return"
industry_vertical = "GENERIC"
content_config = "PUBLIC_WEBSITE"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
resource "google_discovery_engine_data_store" "ds_ffh_tv_troubleshoot" {
count = contains(["lab", "np"], var.env) ? 1 : 0
project = var.project_id
location = "global"
data_store_id = "ds_ffh_tv_troubleshoot"
display_name = "ds_ffh_tv_troubleshoot"
industry_vertical = "GENERIC"
content_config = "PUBLIC_WEBSITE"
solution_types = ["SOLUTION_TYPE_CHAT"]
create_advanced_site_search = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment