Skip to content

Commit

Permalink
Merge pull request #20364 from michaelahern/aws_dx_connection_100gbps
Browse files Browse the repository at this point in the history
Support 100Gbps Direct Connect
  • Loading branch information
anGie44 authored Jul 29, 2021
2 parents c0b1b7b + e886773 commit 577be53
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .changelog/20364.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:enhancement
resource/aws_dx_connection: Add support for `100Gbps` `bandwidth`
```

```release-note:enhancement
resource/aws_dx_lag: Add support for `100Gbps` `connections_bandwidth`
```
1 change: 1 addition & 0 deletions aws/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -1996,6 +1996,7 @@ func validateDxConnectionBandWidth() schema.SchemaValidateFunc {
"2Gbps",
"5Gbps",
"10Gbps",
"100Gbps",
"50Mbps",
"100Mbps",
"200Mbps",
Expand Down
2 changes: 1 addition & 1 deletion aws/validators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2939,6 +2939,7 @@ func TestValidateDxConnectionBandWidth(t *testing.T) {
"2Gbps",
"5Gbps",
"10Gbps",
"100Gbps",
"50Mbps",
"100Mbps",
"200Mbps",
Expand All @@ -2955,7 +2956,6 @@ func TestValidateDxConnectionBandWidth(t *testing.T) {

invalidBandwidths := []string{
"1Tbps",
"100Gbps",
"10GBpS",
"42Mbps",
"0",
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 @@ -25,7 +25,7 @@ resource "aws_dx_connection" "hoge" {
The following arguments are supported:

* `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 100Gbps. Case sensitive.
* `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`.
* `tags` - (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` configuration block](/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.

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" {
The following arguments are supported:

* `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 and 10Gbps. Case sensitive.
* `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.
* `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`.
* `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.
* `tags` - (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` configuration block](/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Expand Down

0 comments on commit 577be53

Please sign in to comment.