Provides a Express Connect Physical Connection resource.
For information about Express Connect Physical Connection and how to use it, see What is Physical Connection.
Basic Usage
provider "alicloud" {
region = "cn-hangzhou"
alias = "hz"
}
provider "alicloud" {
region = "ap-southeast-1"
alias = "sgp"
}
resource "alicloud_express_connect_physical_connection" "domestic" {
access_point_id = "ap-cn-hangzhou-yh-B"
line_operator = "CT"
peer_location = "example_value"
physical_connection_name = "example_value"
type = "VPC"
description = "my domestic connection"
port_type = "1000Base-LX"
bandwidth = 100
provider = alicloud.hz
}
resource "alicloud_express_connect_physical_connection" "international" {
access_point_id = "ap-sg-singpore-A"
line_operator = "Other"
peer_location = "example_value"
physical_connection_name = "example_value"
type = "VPC"
description = "my domestic connection"
port_type = "1000Base-LX"
bandwidth = 100
provider = alicloud.sgp
}
The following arguments are supported:
access_point_id
- (Required, ForceNew) The Physical Leased Line Access Point ID.bandwidth
- (Optional) On the Bandwidth of the ECC Service and Physical Connection.circuit_code
- (Optional) Operators for Physical Connection Circuit Provided Coding.description
- (Optional) The Physical Connection to Which the Description.line_operator
- (Required) Provides Access to the Physical Line Operator. Valid values:
peer_location
- (Optional) and an on-Premises Data Center Location.
physical_connection_name
- (Optional) on Behalf of the Resource Name of the Resources-Attribute Field.port_type
- (Optional) The Physical Leased Line Access Port Type. Valid value:
NOTE: From in v1.185.0+, The 40GBase-LR
and 100GBase-LR
is valid. and Set these values based on the water levels of background ports. For details about the water levels, contact the business manager.
redundant_physical_connection_id
- (Optional) Redundant Physical Connection to Which the ID.status
- (Optional) Resources on Behalf of a State of the Resource Attribute Field. Valid values: Canceled
, Enabled
, Terminated
.type
- (Optional, ForceNew) Physical Private Line of Type. Default Value: VPC.The following attributes are exported:
id
- The resource ID in terraform of Physical Connection.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 2 mins) Used when create the Physical Connection.Express Connect Physical Connection can be imported using the id, e.g.
$ terraform import alicloud_express_connect_physical_connection.example <id>