alicloud_express_connect_router_express_connect_router

更新时间:

Provides a Express Connect Router Express Connect Router resource. Express Connect Router.

For information about Express Connect Router Express Connect Router and how to use it, see What is Express Connect Router.

-> NOTE: Available since v1.224.0.

Example Usage

Basic Usage


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

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

resource "alicloud_express_connect_router_express_connect_router" "defaultM9YxGW" {
  alibaba_side_asn = "65533"
}

Deleting alicloud_express_connect_router_express_connect_router or removing it from your configuration

The alicloud_express_connect_router_express_connect_router resource allows you to manage ecr_id = "" instance, but Terraform cannot destroy it. Deleting the subscription resource or removing it from your configuration will remove it from your state file and management, but will not destroy the Instance. You can resume managing the subscription instance via the AlibabaCloud Console.

Argument Reference

The following arguments are supported:

  • alibaba_side_asn - (Required, ForceNew) ASN representing resources.
  • description - (Optional) Represents the description of the leased line gateway.
  • ecr_name - (Optional) Name of the Gateway representing the leased line.
  • regions - (Optional) List of regions representing leased line gateways. See regions below.
  • resource_group_id - (Optional, Computed) The ID of the resource group to which the ECR instance belongs.
    • A string consisting of letters, numbers, hyphens (-), and underscores (_), and the string length can be 0 to 64 characters.
  • tags - (Optional, Map) The tag of the resource.

regions

The regions supports the following:

  • region_id - (Optional) Representative region ID.
  • transit_mode - (Optional, Computed) Represents the forwarding mode of the current region.

Attributes Reference

The following attributes are exported:

  • id - The ID of the resource supplied above.
  • create_time - Represents the creation time of the resource.
  • status - The status of the resource.

Timeouts

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

  • create - (Defaults to 5 mins) Used when create the Express Connect Router.
  • delete - (Defaults to 5 mins) Used when delete the Express Connect Router.
  • update - (Defaults to 5 mins) Used when update the Express Connect Router.

Import

Express Connect Router Express Connect Router can be imported using the id, e.g.

$ terraform import alicloud_express_connect_router_express_connect_router.example <id>