question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(aws-appmesh): priority cannot be configured in gateway routes

See original GitHub issue

What is the problem?

Even if the AWS console allows to specify the gateway route priority in the gateway route configuration this is not possible in CDK.

Reproduction Steps

Here I’ve no way to specify the priority of a gateway route.

virtualGateway.addGatewayRoute('trial-route', {
    gatewayRouteName: 'trial-route',
    routeSpec: appmesh.GatewayRouteSpec.http({
        match: {
            path: HttpGatewayRoutePathMatch.startsWith('/'),
            rewriteRequestHostname: false,
        },
        routeTarget: props.targetService,
    })
});

What did you expect to happen?

I expect to be able to configure the gateway route priority as in the console:

image

What actually happened?

Currently, the priority cannot be configured in the gateway routes.

CDK CLI Version

1.126.0

Framework Version

No response

Node.js Version

16.4.1

OS

macOS

Language

Typescript

Language Version

No response

Other information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Seiya6329commented, Nov 16, 2021

Priority field is now available in CloudFormation. (link) It should be becoming available for CDK L1 this week.

For CDK L2 support, we are still at end of November.

1reaction
Seiya6329commented, Nov 8, 2021

Quick update: We are deploying changes to CloudFormation to include Priority field.

I think we are looking at end of November as a target for full CDK update completion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gateway routes - AWS App Mesh
A gateway route is attached to a virtual gateway and routes traffic to an existing virtual service. If a route matches a request,...
Read more >
Create traffic routes - AWS App Mesh Workshop
The new route will have a higher priority (lower number) and the same match condition as the existing one. The net effect is...
Read more >
Istio / Traffic Management
Routing rule precedence. More about routing rules. Destination rules. Load balancing options; Destination rule example. Gateways. Gateway example.
Read more >
Gloo Edge and AWS App Mesh - Solo.io Docs
Currently, AWS App Mesh is fairly simple in its capabilities. It does very limited routing, cannot do mTLS, etc. As AWS App Mesh...
Read more >
Proxy Reference - v3.1.x - Kong Docs
Route : This refers to the Kong Gateway routes entity. ... that it cannot match against any of the configured routes (or if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found