aws_dx_connection
Provides a Connection of Direct Connect.
Example Usage
resource "aws_dx_connection" "hoge" { name = "tf-dx-connection" bandwidth = "1Gbps" location = "EqDC2" }
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the connection. -
bandwidth
- (Required) The bandwidth of the connection. Available values: 1Gbps, 10Gbps. Case sensitive. -
location
- (Required) The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. UselocationCode
. -
tags
- (Optional) A mapping of tags to assign to the resource.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
Import
Direct Connect connections can be imported using the connection id
, e.g.
$ terraform import aws_dx_connection.test_connection dxcon-ffre0ec3
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/dx_connection.html