Skip to content

Commit

Permalink
resource/aws_dx_connection: Export bool value of new MTU parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
slapula committed Oct 13, 2018
1 parent efcbb7c commit 6e68ad9
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 6e68ad9

Please sign in to comment.