Skip to content

Commit

Permalink
Support new grpc, http2 port protocols for app mesh virtual router
Browse files Browse the repository at this point in the history
  • Loading branch information
stijndehaes committed Apr 9, 2020
1 parent 32b0486 commit ece07d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aws/resource_aws_appmesh_virtual_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ func resourceAwsAppmeshVirtualRouter() *schema.Resource {
ValidateFunc: validation.StringInSlice([]string{
appmesh.PortProtocolHttp,
appmesh.PortProtocolTcp,
appmesh.PortProtocolGrpc,
appmesh.PortProtocolHttp2,
}, false),
},
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/appmesh_virtual_router.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The `listener` object supports the following:
The `port_mapping` object supports the following:

* `port` - (Required) The port used for the port mapping.
* `protocol` - (Required) The protocol used for the port mapping. Valid values are `http` and `tcp`.
* `protocol` - (Required) The protocol used for the port mapping. Valid values are `http`,`http2`, `tcp` and `grpc`.

## Attributes Reference

Expand Down

0 comments on commit ece07d6

Please sign in to comment.