alicloud_dts_synchronization_instance

Provides a DTS Synchronization Instance resource.

For information about DTS Synchronization Instance and how to use it, see What is Synchronization Instance.

Example Usage

Basic Usage

data "alicloud_regions" "default" {
  current = true
}
resource "alicloud_dts_synchronization_instance" "default" {
  payment_type                     = "PayAsYouGo"
  source_endpoint_engine_name      = "MySQL"
  source_endpoint_region           = data.alicloud_regions.default.regions.0.id
  destination_endpoint_engine_name = "MySQL"
  destination_endpoint_region      = data.alicloud_regions.default.regions.0.id
  instance_class                   = "small"
  sync_architecture                = "oneway"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

DTS Synchronization Instance can be imported using the id, e.g.

$ terraform import alicloud_dts_synchronization_instance.example <id>