Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple listeners for Virtual Nodes, Routers, and Gateways #27368

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .changelog/27368.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
```release-note:enhancement
resource/aws_appmesh_virtual_node: Allow for multiple `listener` blocks
```

```release-note:enhancement
resource/aws_appmesh_virtual_router: Allow for multiple `listener` blocks
```

```release-note:enhancement
resource/aws_appmesh_virtual_gateway: Allow for multiple `listener` blocks
```

```release-note:enhancement
resource/aws_appmesh_gateway_route: Add `port` to `target` block, which is required when target Virtual Nodes or Virtual Routers have multiple listeners
```

```release-note:enhancement
resource/aws_appmesh_route: Add `port` to `weighted_target` block, which is required when target Virtual Nodes have multiple listeners
```
37 changes: 22 additions & 15 deletions internal/service/appmesh/appmesh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,23 @@ func TestAccAppMesh_serial(t *testing.T) {
"tags": testAccMesh_tags,
},
"Route": {
"grpcRoute": testAccRoute_grpcRoute,
"grpcRouteEmptyMatch": testAccRoute_grpcRouteEmptyMatch,
"grpcRouteTimeout": testAccRoute_grpcRouteTimeout,
"http2Route": testAccRoute_http2Route,
"http2RouteTimeout": testAccRoute_http2RouteTimeout,
"httpHeader": testAccRoute_httpHeader,
"httpRetryPolicy": testAccRoute_httpRetryPolicy,
"httpRoute": testAccRoute_httpRoute,
"httpRouteTimeout": testAccRoute_httpRouteTimeout,
"routePriority": testAccRoute_routePriority,
"tcpRoute": testAccRoute_tcpRoute,
"tcpRouteTimeout": testAccRoute_tcpRouteTimeout,
"tags": testAccRoute_tags,
"grpcRoute": testAccRoute_grpcRoute,
"grpcRouteEmptyMatch": testAccRoute_grpcRouteEmptyMatch,
"grpcRouteTimeout": testAccRoute_grpcRouteTimeout,
"grpcRouteTargetPort": testAccRoute_grpcRouteTargetPort,
"http2Route": testAccRoute_http2Route,
"http2RouteTimeout": testAccRoute_http2RouteTimeout,
"http2RouteTargetPort": testAccRoute_http2RouteTargetPort,
"httpHeader": testAccRoute_httpHeader,
"httpRetryPolicy": testAccRoute_httpRetryPolicy,
"httpRoute": testAccRoute_httpRoute,
"httpRouteTimeout": testAccRoute_httpRouteTimeout,
"httpRouteTargetPort": testAccRoute_httpRouteTargetPort,
"routePriority": testAccRoute_routePriority,
"tcpRoute": testAccRoute_tcpRoute,
"tcpRouteTimeout": testAccRoute_tcpRouteTimeout,
"tcpRouteTargetPort": testAccRoute_tcpRouteTargetPort,
"tags": testAccRoute_tags,
},
"VirtualGateway": {
"basic": testAccVirtualGateway_basic,
Expand All @@ -43,6 +47,7 @@ func TestAccAppMesh_serial(t *testing.T) {
"listenerHealthChecks": testAccVirtualGateway_ListenerHealthChecks,
"listenerTls": testAccVirtualGateway_ListenerTLS,
"listenerValidation": testAccVirtualGateway_ListenerValidation,
"multipleListeners": testAccVirtualGateway_multipleListeners,
"logging": testAccVirtualGateway_Logging,
"tags": testAccVirtualGateway_Tags,
},
Expand All @@ -60,12 +65,14 @@ func TestAccAppMesh_serial(t *testing.T) {
"listenerTimeout": testAccVirtualNode_listenerTimeout,
"listenerTls": testAccVirtualNode_listenerTLS,
"listenerValidation": testAccVirtualNode_listenerValidation,
"multipleListeners": testAccVirtualNode_multipleListeners,
"logging": testAccVirtualNode_logging,
"tags": testAccVirtualNode_tags,
},
"VirtualRouter": {
"basic": testAccVirtualRouter_basic,
"tags": testAccVirtualRouter_tags,
"basic": testAccVirtualRouter_basic,
"multipleListeners": testAccVirtualRouter_multipleListeners,
"tags": testAccVirtualRouter_tags,
},
"VirtualService": {
"virtualNode": testAccVirtualService_virtualNode,
Expand Down
Loading