Skip to content

Commit

Permalink
Merge pull request #41547 from catlike/f-directconnect-update-bandwidth
Browse files Browse the repository at this point in the history
Support 25Gbps and 400Gbps Direct Connects
  • Loading branch information
ewbankkit authored Feb 25, 2025
2 parents 745e445 + d548d93 commit 09b310b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .changelog/41547.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
```release-note:enhancement
resource/aws_dx_connection: Add `25Gbps` and `400Gbps` as supported `bandwidth` values
```

```release-note:enhancement
resource/aws_dx_hosted_connection: Add `25Gbps` as a supported `bandwidth` value
```

```release-note:enhancement
release/aws_dx_lag: Add `400Gbps` as a supported `connections_bandwidth` value
```
2 changes: 2 additions & 0 deletions internal/service/directconnect/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ func validConnectionBandWidth() schema.SchemaValidateFunc {
"2Gbps",
"5Gbps",
"10Gbps",
"25Gbps",
"100Gbps",
"400Gbps",
"50Mbps",
"100Mbps",
"200Mbps",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dx_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "aws_dx_connection" "example" {

This resource supports the following arguments:

* `bandwidth` - (Required) The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
* `bandwidth` - (Required) The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps, 100Gbps, and 400Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for [Dedicated Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/dedicated_connection.html) and [Hosted Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/hosted_connection.html).
* `encryption_mode` - (Optional) The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `no_encrypt`, `should_encrypt`, and `must_encrypt`.
* `location` - (Required) The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
* `name` - (Required) The name of the connection.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dx_hosted_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "aws_dx_hosted_connection" "hosted" {
This resource supports the following arguments:

* `name` - (Required) The name of the connection.
* `bandwidth` - (Required) The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
* `bandwidth` - (Required) The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for [Hosted Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/hosted_connection.html).
* `connection_id` - (Required) The ID of the interconnect or LAG.
* `owner_account_id` - (Required) The ID of the AWS account of the customer for the connection.
* `vlan` - (Required) The dedicated VLAN provisioned to the hosted connection.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dx_lag.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "aws_dx_lag" "hoge" {
This resource supports the following arguments:

* `name` - (Required) The name of the LAG.
* `connections_bandwidth` - (Required) The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
* `connections_bandwidth` - (Required) The bandwidth of the individual dedicated connections bundled by the LAG. Valid values: 1Gbps, 10Gbps, 100Gbps, and 400Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for [Dedicated Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/dedicated_connection.html).
* `location` - (Required) The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
* `connection_id` - (Optional) The ID of an existing dedicated connection to migrate to the LAG.
* `force_destroy` - (Optional, Default:false) A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
Expand Down

0 comments on commit 09b310b

Please sign in to comment.