Replies: 3 comments
-
Hello @tim-xergy ! That's a good question. I do not recommend you to manually modify the rule priorities which will cause Unfortunately Copilot by default assigns rule priorities over here in our custom resource for each domain that a copilot service uses. This will be a feature request so that Copilot needs to expose an additional fields in the manifest [service/environment] to set custom priorities by the user. |
Beta Was this translation helpful? Give feedback.
-
Hello @tim-xergy Earlier I was wrong, there is a workaround using yaml patch overrides to replace the Priorities assigned by Copilot
|
Beta Was this translation helpful? Give feedback.
-
@KollaAdithya Thanks for getting back to me! I only just noticed the notifications. I'll take a look into this thanks :) |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have an application that runs 2 services (web and api). The Web routes are less specific than the API routes.
I had manually set the rule priorites so that requests check if they match the API rule set first as they are more specific (use a subdomain) and if they don't match they move on to the more generic web service.
Unfortunately yesterday I had to update copilot cli int he pipeline due to an error caused by having custom rules in the load balancer. Now the web rule priorities is set to be a higher priority than the API.
Is it safe for me to re-priorities these in the console and is there a way to manually set the rule priorities in either the environment or service manifest?
Beta Was this translation helpful? Give feedback.
All reactions