alicloud_ots_search_index

This data source provides the ots search index of the current Alibaba Cloud user.

For information about OTS search index and how to use it, see Search index overview.

Example Usage

data "alicloud_ots_search_indexes" "search_index_ds" {
  instance_name = "sample-instance"
  table_name = "sample-table"
  name_regex    = "sample-search-index"
  output_file   = "search-indexs.txt"
}

output "first_search_index_id" {
  value = "${data.alicloud_ots_search_indexes.search_index_ds.indexs.0.id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: