alicloud_express_connect_ec_failover_test_job

Provides a Express Connect Ec Failover Test Job resource. Express Connect Failover Test Job.

For information about Express Connect Ec Failover Test Job and how to use it, see What is Ec Failover Test Job.

Example Usage

Basic Usage

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

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

data "alicloud_express_connect_physical_connections" "default" {
  name_regex = "preserved-NODELETING"
}

resource "alicloud_express_connect_ec_failover_test_job" "default" {
  description = var.name
  job_type    = "StartNow"
  resource_id = [
    "${data.alicloud_express_connect_physical_connections.default.ids.0}",
    "${data.alicloud_express_connect_physical_connections.default.ids.1}",
    "${data.alicloud_express_connect_physical_connections.default.ids.2}"
  ]
  job_duration              = "1"
  resource_type             = "PHYSICALCONNECTION"
  ec_failover_test_job_name = var.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

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

Import

Express Connect Ec Failover Test Job can be imported using the id, e.g.

$ terraform import alicloud_express_connect_ec_failover_test_job.example <id>