alicloud_ots_tables

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

Example Usage

data "alicloud_ots_tables" "tables_ds" {
  instance_name = "sample-instance"
  name_regex    = "sample-table"
  output_file   = "tables.txt"
}

output "first_table_id" {
  value = "${data.alicloud_ots_tables.tables_ds.tables.0.id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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