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.
Basic Usage
variable "name" {
default = "terraform-example"
}
provider "alicloud" {
region = "cn-hangzhou"
}
resource "alicloud_ebs_replica_group_drill" "default" {
group_id = "pg-m1H9aaOUIGsDUwgZ"
}
The following arguments are supported:
group_id
- (Required, ForceNew) The ID of the replication group. You can use the describediskreplicaggroups interface to query the asynchronous replication group list to obtain the value of the replication group ID input parameter.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.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.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>