Skip to content

Commit

Permalink
Merge pull request #6143 from slapula/dx-connection-mtu
Browse files Browse the repository at this point in the history
resource/aws_dx_connection: Export bool value of new MTU parameter
  • Loading branch information
bflad authored Oct 14, 2018
2 parents 14d0bc4 + 6e68ad9 commit e1673ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws/resource_aws_dx_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ func resourceAwsDxConnection() *schema.Resource {
Required: true,
ForceNew: true,
},
"jumbo_frame_capable": {
Type: schema.TypeBool,
Computed: true,
},
"tags": tagsSchema(),
},
}
Expand Down Expand Up @@ -111,6 +115,7 @@ func resourceAwsDxConnectionRead(d *schema.ResourceData, meta interface{}) error
d.Set("name", connection.ConnectionName)
d.Set("bandwidth", connection.Bandwidth)
d.Set("location", connection.Location)
d.Set("jumbo_frame_capable", connection.JumboFrameCapable)

if err := getTagsDX(conn, d, arn); err != nil {
return err
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/dx_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ In addition to all arguments above, the following attributes are exported:

* `id` - The ID of the connection.
* `arn` - The ARN of the connection.
* `jumbo_frame_capable` - Boolean value representing if jumbo frames have been enabled for this connection.

## Import

Expand Down

0 comments on commit e1673ae

Please sign in to comment.