alicloud_ebs_replica_group_drill

更新时间:

Provides a EBS Replica Group Drill resource.

For information about EBS Replica Group Drill and how to use it, see What is Replica Group Drill.

-> NOTE: Available since v1.215.0.

Example Usage

Basic Usage


variable "name" {
  default = "terraform-example"
}

provider "alicloud" {
  region = "cn-hangzhou"
}

resource "alicloud_ebs_replica_group_drill" "default" {
  group_id = "pg-m1H9aaOUIGsDUwgZ"
}

Argument Reference

The following arguments are supported:

  • group_id - (Required, ForceNew) The ID of the replication group. You can use the [describediskreplicaggroups](~~ 426614 ~~) interface to query the asynchronous replication group list to obtain the value of the replication group ID input parameter.

Attributes Reference

The following attributes are exported:

  • id - The ID of the resource supplied above.The value is formulated as <group_id>:<replica_group_drill_id>.
  • replica_group_drill_id - The first ID of the resource.
  • status - Walkthrough status. _failed: Execution failed._failed: Cleanup failed.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 5 mins) Used when create the Replica Group Drill.
  • delete - (Defaults to 5 mins) Used when delete the Replica Group Drill.

Import

EBS Replica Group Drill can be imported using the id, e.g.

$ terraform import alicloud_ebs_replica_group_drill.example <group_id>:<replica_group_drill_id>