» baiducloud_dtss

Use this data source to query DTS list.

» Example Usage

data "baiducloud_dtss" "default" {}

output "dtss" {
 value = "${data.baiducloud_dtss.default.dtss}"
}

» Argument Reference

The following arguments are supported:

  • type - (Required) type of the task. Available values are migration, sync, subscribe.
  • dts_name - (Optional, ForceNew) Name of the Dts to be queried
  • filter - (Optional, ForceNew) only support filter string/int/bool value
  • output_file - (Optional, ForceNew) Dtss search result output file

The filter object supports the following:

  • name - (Required) filter variable name
  • values - (Required) filter variable value list

» Attributes Reference

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